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

Add plot type "power" and Watt format.

Note that this technically breaks backwards compatibility of trace files
for 0.9.2 builds. But, whatever, as it's not yet released.
This commit is contained in:
Bartosz Taudul
2023-03-10 01:23:22 +01:00
parent 23705fd84c
commit 7d69103444
5 changed files with 15 additions and 4 deletions
+4 -2
View File
@@ -726,7 +726,8 @@ enum class PlotType : uint8_t
{
User,
Memory,
SysTime
SysTime,
Power
};
// Keep this in sync with enum in TracyC.h
@@ -734,7 +735,8 @@ enum class PlotValueFormatting : uint8_t
{
Number,
Memory,
Percentage
Percentage,
Watt
};
struct PlotData