version 1.59, 2005/11/02 20:16:41
|
version 1.60, 2005/11/02 22:03:17
|
|
|
milliseconds = milliseconds / 1000; | milliseconds = milliseconds / 1000; |
} | } |
| |
|
void System::getCurrentTimeUsec(Uint32& seconds, Uint32& microseconds) |
|
{ |
|
FILETIME ft; |
|
GetSystemTimeAsFileTime(&ft); |
|
ULARGE_INTEGER largeInt = { ft.dwLowDateTime, ft.dwHighDateTime }; |
|
largeInt.QuadPart -= 0x19db1ded53e8000; |
|
seconds = long(largeInt.QuadPart / (10000 * 1000)); |
|
microseconds = long((largeInt.QuadPart % (10000 * 1000)) / 10); |
|
} |
|
|
String System::getCurrentASCIITime() | String System::getCurrentASCIITime() |
{ | { |
char tmpbuf[128]; | char tmpbuf[128]; |