Re: [RFC/PATCH v4 1/3] add high resolution timer function to debug performance issues
On 2014-05-21 18:14, Richard Hansen wrote:
Show 6 quoted lines
> On 2014-05-20 15:11, Karsten Blees wrote:
>> Add a getnanotime() function that returns nanoseconds since 01/01/1970 as
>> unsigned 64-bit integer (i.e. overflows in july 2554).
>
> Must it be relative to epoch? If it was relative to system boot (like
> the NetBSD kernel's nanouptime() function),
or relative to some other arbitrary reference point
Show 5 quoted lines
> then you wouldn't have to
> worry about clock adjustments messing with performance stats and you
> might have more options for implementing getnanotime() on various platforms.
>
> -Richard