mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Read all GPU zone variables at once.
This commit is contained in:
parent
6cab3dcd3a
commit
5227bc3549
@ -5294,10 +5294,9 @@ void Worker::ReadTimeline( FileRead& f, Vector<short_ptr<GpuEvent>>& _vec, uint6
|
|||||||
|
|
||||||
int64_t tcpu, tgpu;
|
int64_t tcpu, tgpu;
|
||||||
int16_t srcloc;
|
int16_t srcloc;
|
||||||
f.Read3( tcpu, tgpu, srcloc );
|
|
||||||
zone->SetSrcLoc( srcloc );
|
|
||||||
uint16_t thread;
|
uint16_t thread;
|
||||||
f.Read2( zone->callstack, thread );
|
f.Read5( tcpu, tgpu, srcloc, zone->callstack, thread );
|
||||||
|
zone->SetSrcLoc( srcloc );
|
||||||
zone->SetThread( thread );
|
zone->SetThread( thread );
|
||||||
refTime += tcpu;
|
refTime += tcpu;
|
||||||
refGpuTime += tgpu;
|
refGpuTime += tgpu;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user