From: Greg Colvin (gcolvin_at_[hidden])
Date: 2000-02-02 15:40:14
From: Miki Jovanovic <miki_at_[hidden]>
> "greg colvin" <gcolvi-_at_[hidden]> wrote:
> > long start = System.currentTimeMillis();
> > clock_t start = clock();
> MSDN says:
> "clock() returns the number of clock ticks of elapsed processor time."
> 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?
No, I print the elapsed time in milliseconds:
printf("fill vector: %ld\n",
((long)clock() - start)*1000/CLOCKS_PER_SEC
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk