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

Two plot types: user and memory.

Only user plots are saved in a dump file.
This commit is contained in:
Bartosz Taudul
2018-04-28 15:48:05 +02:00
parent 5b6d9769af
commit cd34ed6968
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -212,6 +212,12 @@ struct PlotItem
double val;
};
enum class PlotType
{
User,
Memory
};
struct PlotData
{
uint64_t name;
@@ -220,6 +226,7 @@ struct PlotData
Vector<PlotItem> data;
Vector<PlotItem> postpone;
uint64_t postponeTime;
PlotType type;
};
struct MemData