PERFORCE change 131260 for review
John Birrell
jb at FreeBSD.org
Wed Dec 19 14:12:52 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=131260
Change 131260 by jb at jb_freebsd1 on 2007/12/19 22:11:58
DTrace-specific functions will only be in the dtrace module.
Affected files ...
.. //depot/projects/dtrace/src/sys/i386/i386/tsc.c#10 edit
Differences ...
==== //depot/projects/dtrace/src/sys/i386/i386/tsc.c#10 (text+ko) ====
@@ -244,16 +244,3 @@
{
return (rdtsc());
}
-
-/*
- * DTrace needs a high resolution time function which can
- * be called from a probe context and guaranteed not to have
- * instrumented with probes itself.
- *
- * Returns nanoseconds since boot.
- */
-uint64_t
-dtrace_gethrtime()
-{
- return (rdtsc() * (uint64_t) 1000000000 / tsc_freq);
-}
More information about the p4-projects
mailing list