diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a81608e7..f5d8ffda 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -871,7 +871,7 @@ void View::ProcessGpuZoneBegin( const QueueGpuZoneBegin& ev ) CheckSourceLocation( ev.srcloc ); auto zone = m_slab.AllocInit(); - zone->cpuStart = ev.cpuTime; + zone->cpuStart = ev.cpuTime * m_timerMul; zone->cpuEnd = -1; zone->gpuStart = std::numeric_limits::max(); zone->gpuEnd = -1; @@ -904,7 +904,7 @@ void View::ProcessGpuZoneEnd( const QueueGpuZoneEnd& ev ) ctx->queue.push_back( zone ); std::lock_guard lock( m_lock ); - zone->cpuEnd = ev.cpuTime; + zone->cpuEnd = ev.cpuTime * m_timerMul; zone->thread = ev.thread; }