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: using get_cycles() to get the real elapsed time


> Thanks. sched_clock is a good alternate for do_gettimeofday in LKET.
> But when I read 2.6.17.7 code, I found it still lacks the code to
> handle the CPU frequency variation in ppc64 arch.

Then that's a bug.  The scheduler and the CPU clocks rely on sched_clock
giving reliable results.


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