diff options
Diffstat (limited to 'src/uscxml/concurrency/tinythread.cpp')
-rw-r--r-- | src/uscxml/concurrency/tinythread.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/uscxml/concurrency/tinythread.cpp b/src/uscxml/concurrency/tinythread.cpp index 3733804..66e73c1 100644 --- a/src/uscxml/concurrency/tinythread.cpp +++ b/src/uscxml/concurrency/tinythread.cpp @@ -34,19 +34,19 @@ freely, subject to the following restrictions: namespace tthread { unsigned long long int timeStamp() { - unsigned long long int time = 0; + unsigned long long int time = 0; #ifdef WIN32 - FILETIME tv; - GetSystemTimeAsFileTime(&tv); - time = (((unsigned long long int) tv.dwHighDateTime) << 32) + tv.dwLowDateTime; - time /= 10000; + FILETIME tv; + GetSystemTimeAsFileTime(&tv); + time = (((unsigned long long int) tv.dwHighDateTime) << 32) + tv.dwLowDateTime; + time /= 10000; #else - struct timeval tv; - gettimeofday(&tv, NULL); - time += tv.tv_sec * 1000; - time += tv.tv_usec / 1000; + struct timeval tv; + gettimeofday(&tv, NULL); + time += tv.tv_sec * 1000; + time += tv.tv_usec / 1000; #endif - return time; + return time; } //------------------------------------------------------------------------------ |