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

Process callstack sample data.

This commit is contained in:
Bartosz Taudul
2020-02-22 16:39:39 +01:00
parent 054a6f8563
commit 437771ea85
3 changed files with 48 additions and 0 deletions
+10
View File
@@ -202,6 +202,15 @@ struct ZoneExtra
enum { ZoneExtraSize = sizeof( ZoneExtra ) };
struct SampleData
{
Int48 time;
Int24 callstack;
};
enum { SampleDataSize = sizeof( SampleData ) };
struct LockEvent
{
enum class Type : uint8_t
@@ -475,6 +484,7 @@ struct ThreadData
#ifndef TRACY_NO_STATISTICS
Vector<int64_t> childTimeStack;
#endif
Vector<SampleData> samples;
};
struct GpuCtxThreadData