clock time in milliseconds into a c program

Alin-Adrian Anton aanton at spintech.ro
Fri Jan 21 03:24:17 PST 2005


Erich Dollansky wrote:
> 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.
> 

Yes I noticed. Sorry, been working.

-- 
Alin-Adrian Anton
GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E)
gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E

Never ask a man what OS he uses. If it's FreeBSD, he'll tell you.
If it's not, why embarrass him? ..I'm sorry..


More information about the freebsd-hackers mailing list