diff options
-rw-r--r-- | include/comphelper/profilezone.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/comphelper/profilezone.hxx b/include/comphelper/profilezone.hxx index 36730e7f8af6..43c792e0fcf7 100644 --- a/include/comphelper/profilezone.hxx +++ b/include/comphelper/profilezone.hxx @@ -36,9 +36,7 @@ class COMPHELPER_DLLPUBLIC ProfileZone : public NamedEvent { if (s_bRecording) { - TimeValue systemTime; - osl_getSystemTime( &systemTime ); - m_nCreateTime = static_cast<long long>(systemTime.Seconds) * 1000000 + systemTime.Nanosec/1000; + m_nCreateTime = getNow(); m_nNesting = s_nNesting++; } |