summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-06-25 11:31:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-06-25 11:31:51 (GMT)
commitc37c8626674dd6ba0d53dcad84dd4bb5d92005a4 (patch)
treefa51c4ac8c1fe241b2d6c4af9d2f9a1297ce8e0a /src/portable.cpp
parent0c6ee149829948582e5e5c1b96c8b3105b02672a (diff)
downloadDoxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.zip
Doxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.tar.gz
Doxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.tar.bz2
Release-1.7.1
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp10
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)