[concurrency-interest] Clock at micro and nano second precision

jeff hayes jhayes2@oswego.oswego.edu
Wed, 13 Nov 2002 18:49:47 -0500

To get micro-second time or nano-second time, I would 
recommend that you explored a JNI alterantive, 
I know that Doug Lea wrote a JNI nonosecond timer
for sparc architecture. You do have to write the
foundation in c or some other language
though. So there is not really a way to do
it in "pure" java, unless you wait.

On Wednesday 13 November 2002 15:12, you wrote:
> Hi,
> I'm very interested in this b/c of the java.lang.Clock
> object's ability to get the currentTime in such small
> units.  It appears that there is no implementation
> available.
> Is there a way to get micro or nano second time the
> way java.lang.Clock is doing without waiting for  the
> new JDK?  Or is this something that has to be built
> into the JVM?
> Thanks,
> Mark
> __________________________________________________
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest@altair.cs.oswego.edu
> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest