This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gettimeofday_ns accuracy


"Rob Donovan" <rob@proivrc.com> writes:

> Is there any other kind of time measure other than gettimeofday_ns()?

There is also get_cycles() after the epolymous kernel function.

> Since gettimeofday_ns is not that accurate, and has the possibility
> (and does) sometimes go backwards in time.

Can you describe your system (CPU models, kernel versions) a little
more?  We may be able to use/expose other time sources too, or help
you write the bit of code that would do so.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]