diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-04-26 15:23:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-04-28 11:40:14 +0200 |
commit | 9fa66a3de4d6d14f91af8064f0af510070f65567 (patch) | |
tree | b5137e3909494b889975531eed93f6a07b5d624a /comphelper | |
parent | ca19177728c66d913996a48c91a0ba47d08825d6 (diff) |
g_nStartTime was unused
Change-Id: I2f4371825f7c528a081e42ee157b21b7fd73b2f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114660
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114665
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114672
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'comphelper')
-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 02e740a2090b..298e46e66d36 100644 --- a/comphelper/source/misc/profilezone.cxx +++ b/comphelper/source/misc/profilezone.cxx @@ -28,16 +28,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; } |