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

Store zone text data in a separate structure.

This commit is contained in:
Bartosz Taudul
2017-09-28 19:06:39 +02:00
parent 7f865f3517
commit 91e6210e34
2 changed files with 16 additions and 5 deletions
+6 -1
View File
@@ -6,13 +6,18 @@
namespace tracy
{
struct TextData
{
const char* userText;
};
struct Event
{
int64_t start;
int64_t end;
uint64_t srcloc;
const char* text;
TextData* text;
Event* parent;
Vector<Event*> child;
};