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

Allow sending custom zone names.

This commit is contained in:
Bartosz Taudul
2017-09-28 19:28:24 +02:00
parent 362a37a705
commit 8c1c395cec
8 changed files with 38 additions and 0 deletions
+5
View File
@@ -30,6 +30,11 @@ public:
Profiler::ZoneText( m_id, QueueZoneText { (uint64_t)ptr } );
}
void Name( const char* name )
{
Profiler::ZoneName( m_id, QueueZoneName { (uint64_t)name } );
}
private:
uint64_t m_id;
};