Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2007 22:12:51 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 131260 for review
Message-ID:  <200712192212.lBJMCpVM061625@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131260

Change 131260 by jb@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);
-}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712192212.lBJMCpVM061625>