comphelper/source/misc/profilezone.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit a124615c087bf534aeb7431e78bef66a3f5db825 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Thu Apr 15 17:51:02 2021 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Apr 23 18:58:17 2021 +0200 Drop the leftover "sum time" thing from the Event Trace Change-Id: I222da50f3ad113bf3204b4d21df52c9e55cf7cf0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114159 Tested-by: Tor Lillqvist <t...@collabora.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114557 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/comphelper/source/misc/profilezone.cxx b/comphelper/source/misc/profilezone.cxx index 3b80f69af38c..996213b5112a 100644 --- a/comphelper/source/misc/profilezone.cxx +++ b/comphelper/source/misc/profilezone.cxx @@ -28,7 +28,6 @@ int ProfileZone::s_nNesting = 0; // level of overlapped zones namespace { std::vector<OUString> g_aRecording; // recorded data - long long g_nSumTime(0); // overall zone time in microsec long long g_nStartTime; // start time of recording ::osl::Mutex g_aMutex; } @@ -68,8 +67,6 @@ void ProfileZone::addRecording() ::osl::MutexGuard aGuard(g_aMutex); g_aRecording.emplace_back(sRecordingData); - if (s_nNesting == 0) - g_nSumTime += nNow - m_nCreateTime; } css::uno::Sequence<OUString> ProfileZone::getRecordingAndClear() @@ -81,8 +78,6 @@ css::uno::Sequence<OUString> ProfileZone::getRecordingAndClear() bRecording = s_bRecording; stopRecording(); aRecording.swap(g_aRecording); - long long nSumTime = g_nSumTime; - aRecording.insert(aRecording.begin(), OUString::number(nSumTime/1000000.0)); } // reset start time and nesting level if (bRecording) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits