1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Combine ContextSwitchCpu writes.

This commit is contained in:
Bartosz Taudul
2020-02-20 02:09:09 +01:00
parent 54573fb970
commit c5dbd749e7
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -1543,10 +1543,9 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
uint16_t thread;
f.Read3( deltaStart, deltaEnd, thread );
refTime += deltaStart;
ptr->SetStart( refTime );
ptr->SetStartThread( refTime, thread );
refTime += deltaEnd;
ptr->SetEnd( refTime );
ptr->SetThread( thread );
ptr++;
}
cnt += sz;