Boost logo

Boost :

From: Miki Jovanovic (miki_at_[hidden])
Date: 2000-02-02 15:30:05


"greg colvin" <gcolvi-_at_[hidden]> wrote:
> long start = System.currentTimeMillis();

vs.

> clock_t start = clock();

MSDN says:

"clock() returns the number of clock ticks of elapsed processor time."

vs.

currentTimeMillis() returns the difference, measured in milliseconds,
between the current time and midnight, January 1, 1970 UTC.

Would this processor time vs real time make much of a difference here?

Cheers,

Miki Jovanovic.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk