lkml.org 
[lkml]   [2016]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer
On Wed, 21 Sep 2016 09:26:20 +0200 (CEST)
Thomas Gleixner <tglx@linutronix.de> wrote:

> > As suggested by Steven, change the type of RTC value to save trace buffer.

The original code did everything just like the above but stored every
value into ints, I just said that the value could be stored in chars to
save space.

>
> A single u64 does not take more storage space than this and it's a single
> store.

So to use rtc_tm_to_time64()? Is the work to do the calculations of the
conversion faster than a bunch of stores that are going to be in hot
cache?

-- Steve

\
 
 \ /
  Last update: 2016-09-22 23:59    [W:0.137 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site