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

Send lean callstack samples.

This commit is contained in:
Bartosz Taudul
2020-05-10 20:00:51 +02:00
parent 09388f3c99
commit 03b5dfacd6
4 changed files with 16 additions and 7 deletions
+2
View File
@@ -1843,6 +1843,8 @@ Profiler::DequeueStatus Profiler::Dequeue( moodycamel::ConsumerToken& token )
int64_t dt = t - refCtx;
refCtx = t;
MemWrite( &item->callstackSample.time, dt );
idx++;
MemWrite( &item->hdr.idx, idx );
break;
}
case QueueType::FrameImage: