[luau] getting system time in milisecs

Eric Hattemer hattenator at imapmail.org
Wed Sep 18 16:32:00 PDT 2002


I'm pretty sure in a C class we once used something like x=time(0).  It
might require time.h or clock.h or something.  But that was a long time ago.

-Eric Hattemer
----- Original Message -----
From: "Charles Lockhart" <lockhart at jeans.ifa.hawaii.edu>
To: <luau at videl.ics.hawaii.edu>
Sent: Wednesday, September 18, 2002 6:46 PM
Subject: [luau] getting system time in milisecs


> Another goofy programmer question, what's the fastest and most accurate
> way of getting the current time in milisecs within a program?  I've been
> calling gettimeofday, but was wondering if there's any better/faster way
> of doing it?
>
> Thanks,
>
> Charles
>
> _______________________________________________
> LUAU mailing list
> LUAU at videl.ics.hawaii.edu
> http://videl.ics.hawaii.edu/mailman/listinfo/luau
>
>




More information about the LUAU mailing list