mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add no-statistics guards.
This commit is contained in:
@@ -2000,6 +2000,7 @@ uint64_t Worker::GetContextSwitchPerCpuCount() const
|
||||
return cnt;
|
||||
}
|
||||
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
uint64_t Worker::GetChildSamplesCountFull() const
|
||||
{
|
||||
uint64_t cnt = 0;
|
||||
@@ -2009,6 +2010,7 @@ uint64_t Worker::GetChildSamplesCountFull() const
|
||||
}
|
||||
return cnt;
|
||||
}
|
||||
#endif
|
||||
|
||||
uint64_t Worker::GetPidFromTid( uint64_t tid ) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user