diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-06-17 10:05:54 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-06-17 12:54:51 +0200 |
commit | 1394bfba870a38d7d4edbd3c387b5e87182bc90f (patch) | |
tree | d606ba52a204cfb2cf5f5ea13715bca070e25937 /comphelper | |
parent | a572acc3dd5c0bd173ff2881b239be98f4b6ecb4 (diff) |
Drop the "console" functionality of ProfileZone
It was not used anywhere and had not been cherry-picked to the
relevant vendor production branches so apparently it was just some
temporary experimentation? It is good to reduce complexity and
increase code similarity between branches.
Change-Id: Ib6717063f96d901d65ec36d65f3683af31065f2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117364
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/traceevent.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/comphelper/source/misc/traceevent.cxx b/comphelper/source/misc/traceevent.cxx index cd6d3929e27c..793fea6cdb0e 100644 --- a/comphelper/source/misc/traceevent.cxx +++ b/comphelper/source/misc/traceevent.cxx @@ -118,16 +118,6 @@ void ProfileZone::addRecording() + OUString::number(osl_getThreadIdentifier(nullptr)) + "},"); } -void ProfileZone::stopConsole() -{ - TimeValue systemTime; - osl_getSystemTime(&systemTime); - long long nEndTime - = static_cast<long long>(systemTime.Seconds) * 1000000 + systemTime.Nanosec / 1000; - std::cerr << "comphelper::ProfileZone: " << m_sName << " finished in " - << (nEndTime - m_nCreateTime) / 1000 << " ms" << std::endl; -} - } // namespace comphelper /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |