diff src/os_cpu/bsd_x86/vm/os_bsd_x86.hpp @ 4749:7ab5f6318694

7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64 Summary: Add rdtsc detection and inline generation. Reviewed-by: kamg, dholmes Contributed-by: karen.kinnear@oracle.com
author phh
date Sun, 01 Jan 2012 11:17:59 -0500
parents f08d439fab8c
children b9a9ed0f8eeb
line wrap: on
line diff
--- a/src/os_cpu/bsd_x86/vm/os_bsd_x86.hpp	Mon Dec 26 20:36:01 2011 -0500
+++ b/src/os_cpu/bsd_x86/vm/os_bsd_x86.hpp	Sun Jan 01 11:17:59 2012 -0500
@@ -28,6 +28,8 @@
   static void setup_fpu();
   static bool supports_sse();
 
+  static jlong rdtsc();
+
   static bool is_allocatable(size_t bytes);
 
   // Used to register dynamic code cache area with the OS