This may be a dumb question, but why (on Linux) is System.nanotime() a call 
out to clock_gettime?    It seems like it could be inlined by the JVM, and 
stripped down to the rdtsc instruction.   From my reading of the vDSO 
source for x86, the implementation is not that complex, and could be copied 
into Java.  

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to