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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user