Messages in this thread | | | Date | Wed, 11 Jun 2008 13:58:28 -0700 | From | Arjan van de Ven <> | Subject | Re: PROBLEM: no cpu MHz in /proc/cpuinfo on 2.6.25.4-rt6 |
| |
On Wed, 11 Jun 2008 16:37:38 -0400 Mark Hounschell <markh@compro.net> wrote:
> > Mark > > > > Ok, what would one use besides the tsc to take a fast high-res time > stamp in a kernel module that could also be used in user land (same > time source) to for instance calculate the the time between an event > in the kernel to an event in user land? > > do_gettimeofday / gettimeofday are not really acceptable.
btw you also changed the problem from "what is the cpu frequency" to "how usable is rdtsc for time". My entire point was that these weren't related...
-- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org
| |