[21:33:59] GetTickCount - 60928 [21:33:59] tickcount - 1120 [21:33:59] GetTickCount - 61131 [21:33:59] tickcount - 1120 [21:33:59] GetTickCount - 61334 [21:33:59] tickcount - 1120 [21:33:59] GetTickCount - 61538 [21:33:59] tickcount - 1120 [21:34:00] GetTickCount - 61742 [21:34:00] tickcount - 1130 [21:34:00] GetTickCount - 61946 [21:34:00] tickcount - 1130 [21:34:00] GetTickCount - 62149 [21:34:00] tickcount - 1130 [21:34:00] GetTickCount - 62352 [21:34:00] tickcount - 1130 [21:34:00] GetTickCount - 62556 [21:34:00] tickcount - 1130 [21:34:01] GetTickCount - 62760 [21:34:01] tickcount - 1140 [21:34:01] GetTickCount - 62964 [21:34:01] tickcount - 1140 [21:34:01] GetTickCount - 63167 [21:34:01] tickcount - 1140 [21:34:01] GetTickCount - 63371 [21:34:01] tickcount - 1140 [21:34:01] GetTickCount - 63574 [21:34:01] tickcount - 1140 [21:34:02] GetTickCount - 63779 [21:34:02] tickcount - 1150 [21:34:02] GetTickCount - 63984 [21:34:02] tickcount - 1150 [21:34:02] GetTickCount - 64187 [21:34:02] tickcount - 1150 [21:34:02] GetTickCount - 64390 [21:34:02] tickcount - 1150 [21:34:02] GetTickCount - 64594 [21:34:02] tickcount - 1150 [21:34:03] GetTickCount - 64800 [21:34:03] tickcount - 1150 [21:34:03] GetTickCount - 65004 [21:34:03] tickcount - 1150 [21:34:03] GetTickCount - 65207 [21:34:03] tickcount - 1160 [21:34:03] GetTickCount - 65411 [21:34:03] tickcount - 1160 [21:34:03] GetTickCount - 65614 [21:34:03] tickcount - 1160 [21:34:04] GetTickCount - 65819 [21:34:04] tickcount - 1170 [21:34:04] GetTickCount - 66022 [21:34:04] tickcount - 1170 [21:34:04] GetTickCount - 66225 [21:34:04] tickcount - 1170
|
Unix timestamps is what you need, forget GetTickCount and tickcount functions for such things as races.
|
|
Although it is weird that these 2 functions work the same on Windows, but do not work @ linux
|
|
Syntax: tickcount(&granularity=0) granularity : Upon return, this value contains the number of ticks that the internal system time will tick per second. This value therefore indicates the accuracy of the return value of this function. |
|
If the granularity of the system timer is “100” (a typical value for unix systems), the return value will still be in milliseconds, but the value will change only every 10 milliseconds (100 “ticks” per second is 10 milliseconds per tick). |