Add support for C# Profiler events to be visible in Tracy

This commit is contained in:
Wojtek Figat
2021-07-07 15:14:52 +02:00
parent ec40a9ba75
commit afc5bb5731
4 changed files with 50 additions and 2 deletions

View File

@@ -46,6 +46,9 @@ struct TRACY_API SourceLocationData
class TRACY_API ScopedZone
{
public:
static void Begin( uint32_t line, const char* source, size_t sourceSz, const char* function, size_t functionSz, const Char* name, size_t nameSz );
static void End();
ScopedZone( const ScopedZone& ) = delete;
ScopedZone( ScopedZone&& ) = delete;
ScopedZone& operator=( const ScopedZone& ) = delete;