1
0
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:
Bartosz Taudul
2017-11-05 20:54:49 +01:00
parent bc77aa8d26
commit 3d2450fc10
4 changed files with 23 additions and 11 deletions
+11
View File
@@ -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;