mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Add die to topology data.
This commit is contained in:
parent
fb617fe998
commit
353545a1e9
@ -3727,6 +3727,7 @@ void Profiler::ReportTopology()
|
|||||||
struct CpuData
|
struct CpuData
|
||||||
{
|
{
|
||||||
uint32_t package;
|
uint32_t package;
|
||||||
|
uint32_t die;
|
||||||
uint32_t core;
|
uint32_t core;
|
||||||
uint32_t thread;
|
uint32_t thread;
|
||||||
};
|
};
|
||||||
@ -3801,6 +3802,7 @@ void Profiler::ReportTopology()
|
|||||||
|
|
||||||
TracyLfqPrepare( QueueType::CpuTopology );
|
TracyLfqPrepare( QueueType::CpuTopology );
|
||||||
MemWrite( &item->cpuTopology.package, data.package );
|
MemWrite( &item->cpuTopology.package, data.package );
|
||||||
|
MemWrite( &item->cpuTopology.die, data.die );
|
||||||
MemWrite( &item->cpuTopology.core, data.core );
|
MemWrite( &item->cpuTopology.core, data.core );
|
||||||
MemWrite( &item->cpuTopology.thread, data.thread );
|
MemWrite( &item->cpuTopology.thread, data.thread );
|
||||||
|
|
||||||
@ -3850,6 +3852,7 @@ void Profiler::ReportTopology()
|
|||||||
|
|
||||||
TracyLfqPrepare( QueueType::CpuTopology );
|
TracyLfqPrepare( QueueType::CpuTopology );
|
||||||
MemWrite( &item->cpuTopology.package, data.package );
|
MemWrite( &item->cpuTopology.package, data.package );
|
||||||
|
MemWrite( &item->cpuTopology.die, data.die );
|
||||||
MemWrite( &item->cpuTopology.core, data.core );
|
MemWrite( &item->cpuTopology.core, data.core );
|
||||||
MemWrite( &item->cpuTopology.thread, data.thread );
|
MemWrite( &item->cpuTopology.thread, data.thread );
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ namespace tracy
|
|||||||
|
|
||||||
constexpr unsigned Lz4CompressBound( unsigned isize ) { return isize + ( isize / 255 ) + 16; }
|
constexpr unsigned Lz4CompressBound( unsigned isize ) { return isize + ( isize / 255 ) + 16; }
|
||||||
|
|
||||||
enum : uint32_t { ProtocolVersion = 68 };
|
enum : uint32_t { ProtocolVersion = 69 };
|
||||||
enum : uint16_t { BroadcastVersion = 3 };
|
enum : uint16_t { BroadcastVersion = 3 };
|
||||||
|
|
||||||
using lz4sz_t = uint32_t;
|
using lz4sz_t = uint32_t;
|
||||||
|
@ -647,6 +647,7 @@ struct QueueSourceCodeNotAvailable
|
|||||||
struct QueueCpuTopology
|
struct QueueCpuTopology
|
||||||
{
|
{
|
||||||
uint32_t package;
|
uint32_t package;
|
||||||
|
uint32_t die;
|
||||||
uint32_t core;
|
uint32_t core;
|
||||||
uint32_t thread;
|
uint32_t thread;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user