diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-06-25 11:31:51 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-06-25 11:31:51 (GMT) |
commit | d0412f05557d55f465407a9337553c0a6ee0396f (patch) | |
tree | fa51c4ac8c1fe241b2d6c4af9d2f9a1297ce8e0a /src/portable.cpp | |
parent | 1cbd7d2faa8d543f521b144a8120c3a1ba2f832f (diff) | |
download | Doxygen-d0412f05557d55f465407a9337553c0a6ee0396f.zip Doxygen-d0412f05557d55f465407a9337553c0a6ee0396f.tar.gz Doxygen-d0412f05557d55f465407a9337553c0a6ee0396f.tar.bz2 |
Release-1.7.1
Diffstat (limited to 'src/portable.cpp')
-rw-r--r-- | src/portable.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/portable.cpp b/src/portable.cpp index ff9b803..7a78131 100644 --- a/src/portable.cpp +++ b/src/portable.cpp @@ -26,8 +26,8 @@ extern char **environ; #endif //#include "doxygen.h" -static double sysElapsedTime; -static QTime time; +static double g_sysElapsedTime; +static QTime g_time; int portable_system(const char *command,const char *args,bool commandHasConsole) { @@ -378,17 +378,17 @@ int portable_pclose(FILE *stream) void portable_sysTimerStart() { - time.start(); + g_time.start(); } void portable_sysTimerStop() { - sysElapsedTime+=((double)time.elapsed())/1000.0; + g_sysElapsedTime+=((double)g_time.elapsed())/1000.0; } double portable_getSysElapsedTime() { - return sysElapsedTime; + return g_sysElapsedTime; } void portable_sleep(int ms) |