From 5f9228d4e66f75cedfa80af07c7dda5fd2169105 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 5 Oct 2017 03:07:26 +0200 Subject: [PATCH] Fix typo. --- client/TracyLock.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/TracyLock.hpp b/client/TracyLock.hpp index d9f4ef7a..56f1d67e 100755 --- a/client/TracyLock.hpp +++ b/client/TracyLock.hpp @@ -41,7 +41,7 @@ public: item->hdr.type = QueueType::LockWait; item->lockWait.id = m_id; item->lockWait.thread = thread; - item->lockWait.time = Profiler::GetTime( item->zoneBegin.cpu ); + item->lockWait.time = Profiler::GetTime( cpu ); s_queue.enqueue_finish( token, magic ); } @@ -54,7 +54,7 @@ public: item->hdr.type = QueueType::LockObtain; item->lockObtain.id = m_id; item->lockObtain.thread = thread; - item->lockObtain.time = Profiler::GetTime( item->zoneBegin.cpu ); + item->lockObtain.time = Profiler::GetTime( cpu ); s_queue.enqueue_finish( token, magic ); } } @@ -70,7 +70,7 @@ public: item->hdr.type = QueueType::LockRelease; item->lockRelease.id = m_id; item->lockRelease.thread = GetThreadHandle(); - item->lockRelease.time = Profiler::GetTime( item->zoneBegin.cpu ); + item->lockRelease.time = Profiler::GetTime( cpu ); s_queue.enqueue_finish( token, magic ); } @@ -86,7 +86,7 @@ public: item->hdr.type = QueueType::LockObtain; item->lockObtain.id = (uint64_t)&m_lockable; item->lockObtain.thread = GetThreadHandle(); - item->lockObtain.time = Profiler::GetTime( item->zoneBegin.cpu ); + item->lockObtain.time = Profiler::GetTime( cpu ); s_queue.enqueue_finish( token, magic ); } return ret;