5 /* this file is specific to a UNIX system */
7 /// ***** Public Methods *****
9 // returns the current microseconds from unix time
10 long int tickCountMicro()
15 return (long int)tv.tv_sec * 1000000 + tv.tv_usec;
18 // returns the current milliseconds from unix time
19 long int tickCountMilli()
21 return tickCountMicro() / 1000;
24 // returns the current seconds from unix time
25 long int tickCountSec()
27 return tickCountMicro() / 1000000;