Time in Java

Alexandre Oliva oliva at dcc.unicamp.br
Wed Jun 23 04:15:18 PDT 1999

On Jun 17, 1999, Samarjeet S Tomar <tomar at cse.psu.edu> wrote:

> How can I measure time in Java (Is there a function like gethrtime() ?) I
> am using Kaffe to run it.

System.currentTimeMillis() is the best you can get in 100% Java, but
you can do more if you're willing to go native.

Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
*** E-mail about software projects will be forwarded to mailing lists

More information about the kaffe mailing list