mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Store source locations in a proper data structure.
This commit is contained in:
@@ -16,6 +16,17 @@ struct TextData
|
||||
|
||||
#pragma pack( 1 )
|
||||
|
||||
struct SourceLocation
|
||||
{
|
||||
uint64_t function; // ptr
|
||||
uint64_t file; // ptr
|
||||
uint32_t line;
|
||||
uint32_t color;
|
||||
};
|
||||
|
||||
enum { SourceLocationSize = sizeof( SourceLocation ) };
|
||||
|
||||
|
||||
struct ZoneEvent
|
||||
{
|
||||
int64_t start;
|
||||
|
||||
Reference in New Issue
Block a user