gettimeofday_ns accuracy
Frank Ch. Eigler
fche@redhat.com
Sat Aug 7 21:53:00 GMT 2010
"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
More information about the Systemtap
mailing list