From a9a16b4d94544e2cc7f85db9e46a3c1cbc17a5e8 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 20 Jun 2021 14:24:42 +0200 Subject: [PATCH] Narrow down search region. --- server/TracyWorker.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index c7a08da0..ab82f056 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -2137,6 +2137,7 @@ void Worker::GetCpuUsage( int64_t t0, double tstep, size_t num, std::vectorfirst = 0; @@ -2160,6 +2161,7 @@ void Worker::GetCpuUsage( int64_t t0, double tstep, size_t num, std::vectorfirst = it->Own(); ptr->second = it->Other(); } + itBegin = it; } ptr++; }