diff options
-rw-r--r-- | comphelper/source/misc/profilezone.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/comphelper/source/misc/profilezone.cxx b/comphelper/source/misc/profilezone.cxx index 3c586568a0dc..7b59aa7cc8f7 100644 --- a/comphelper/source/misc/profilezone.cxx +++ b/comphelper/source/misc/profilezone.cxx @@ -26,16 +26,12 @@ int ProfileZone::s_nNesting = 0; // level of overlapped zones namespace { std::vector<OUString> g_aRecording; // recorded data - long long g_nStartTime; // start time of recording ::osl::Mutex g_aMutex; } void ProfileZone::startRecording() { - TimeValue aSystemTime; - osl_getSystemTime(&aSystemTime ); ::osl::MutexGuard aGuard(g_aMutex); - g_nStartTime = static_cast<long long>(aSystemTime.Seconds) * 1000000 + aSystemTime.Nanosec/1000; s_nNesting = 0; s_bRecording = true; } |