From 9904ebb4b6ca213edff093d4a080027411ca4b7a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 4 Oct 2017 19:24:06 +0200 Subject: [PATCH] Lock time correction. --- server/TracyView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 31933d09..1db48e54 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -477,7 +477,7 @@ void View::ProcessLockAnnounce( const QueueLockAnnounce& ev ) void View::ProcessLockWait( const QueueLockWait& ev ) { auto lev = m_slab.Alloc(); - lev->time = ev.time; + lev->time = ev.time * m_timerMul; lev->thread = ev.thread; lev->type = LockEvent::Type::Wait; @@ -497,7 +497,7 @@ void View::ProcessLockWait( const QueueLockWait& ev ) void View::ProcessLockObtain( const QueueLockObtain& ev ) { auto lev = m_slab.Alloc(); - lev->time = ev.time; + lev->time = ev.time * m_timerMul; lev->thread = ev.thread; lev->type = LockEvent::Type::Obtain; @@ -517,7 +517,7 @@ void View::ProcessLockObtain( const QueueLockObtain& ev ) void View::ProcessLockRelease( const QueueLockRelease& ev ) { auto lev = m_slab.Alloc(); - lev->time = ev.time; + lev->time = ev.time * m_timerMul; lev->thread = ev.thread; lev->type = LockEvent::Type::Release;