From: Godmar Back (gback@cs.utah.edu)
Date: Fri Dec 04 1998 - 16:08:40 EST
>
> On Dec 4, 1998, Godmar Back <gback@cs.utah.edu> wrote:
>
> > Which reminds me: instead of using currentTimeMillis,
> > how about this.
>
> Too unportable for me. I have to run these tests on several
> platforms.
>
I didn't mean to say: throw your stuff out.
I meant to say: here's something I think is neat you can use if you want to.
> Anyway, the effect of calling currentTimeMillis is totally negligible
> when the test loop runs for one second.
Subtracting the measuring overhead is an orthogonal problem that
affects any timing mechanisms, cycle counter or timer.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:06 EDT