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

Process and store plot value formatting.

This commit is contained in:
Bartosz Taudul
2019-11-05 18:02:08 +01:00
parent 907574e637
commit 661c4a417b
4 changed files with 62 additions and 4 deletions
+8
View File
@@ -486,6 +486,13 @@ enum class PlotType : uint8_t
SysTime
};
enum class PlotValueFormatting : uint8_t
{
Number,
Memory,
Percentage
};
struct PlotData
{
uint64_t name;
@@ -495,6 +502,7 @@ struct PlotData
Vector<PlotItem> postpone;
uint64_t postponeTime;
PlotType type;
PlotValueFormatting format;
};
struct MemData