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

Collect hardware sample data.

This commit is contained in:
Bartosz Taudul
2021-05-19 23:05:33 +02:00
parent 101cdd9b4b
commit 373a2b66c6
3 changed files with 17 additions and 0 deletions
+9
View File
@@ -251,6 +251,15 @@ struct SampleDataRange
enum { SampleDataRangeSize = sizeof( SampleDataRange ) };
struct HwSampleData
{
uint32_t cycles;
uint32_t retired;
};
enum { HwSampleDataSize = sizeof( HwSampleData ) };
struct LockEvent
{
enum class Type : uint8_t