mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Store zone text in StringRef. Use name from source location.
This commit is contained in:
committed by
Bartosz Taudul
parent
2f669aea41
commit
8b2af369ad
@@ -39,12 +39,6 @@ struct StringRef
|
||||
uint8_t active : 1;
|
||||
};
|
||||
|
||||
struct TextData
|
||||
{
|
||||
const char* userText;
|
||||
StringRef zoneName;
|
||||
};
|
||||
|
||||
struct SourceLocation
|
||||
{
|
||||
StringRef name;
|
||||
@@ -65,7 +59,7 @@ struct ZoneEvent
|
||||
int8_t cpu_start;
|
||||
int8_t cpu_end;
|
||||
|
||||
int32_t text;
|
||||
StringRef text;
|
||||
Vector<ZoneEvent*> child;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user