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

Don't send source location pointer in query reply.

Since reply order is the same as the query order, the server already
knows what source location it receives. This observation allows placing
zone name into the source location struct.
This commit is contained in:
Bartosz Taudul
2017-11-14 23:06:45 +01:00
parent e0b5c25f87
commit c43eb29ce0
11 changed files with 87 additions and 115 deletions
+1 -1
View File
@@ -47,6 +47,7 @@ struct TextData
struct SourceLocation
{
StringRef name;
StringRef function;
StringRef file;
uint32_t line;
@@ -102,7 +103,6 @@ struct GpuEvent
int64_t gpuStart;
int64_t gpuEnd;
int32_t srcloc;
uint64_t name;
Vector<GpuEvent*> child;
};