clock time in milliseconds into a c program

Erich Dollansky oceanare at pacific.net.sg
Thu Jan 20 18:11:35 PST 2005


Hi,

Alin-Adrian Anton wrote:

> For this snippet (which deals with a B+tree) i got results of the form 
> 0.3445866564 microseconds, which means 344.5867 miliseconds.. etc..
> 
You mixed the units up

1 second is 1 000 ms which is 1 000 000 µs which is 1 000 000 000 ns.

Erich


More information about the freebsd-hackers mailing list