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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user