Subject: Re: [RFC/PATCH v4 1/3] add high resolution timer function to debug performance issues

From: Richard Hansen <[email-masked]>
Date: Wed, 21 May 2014 18:14:00 -0400

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), 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