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

Merge pull request #497 from pshurgal/detailed_function_names

More detailed function names under Clang and GCC
This commit is contained in:
Bartosz Taudul
2022-11-30 12:14:46 +01:00
committed by GitHub
9 changed files with 125 additions and 80 deletions
+1 -1
View File
@@ -3544,7 +3544,7 @@ void Profiler::CalibrateDelay()
constexpr int Events = Iterations * 2; // start + end
static_assert( Events < QueuePrealloc, "Delay calibration loop will allocate memory in queue" );
static const tracy::SourceLocationData __tracy_source_location { nullptr, __FUNCTION__, __FILE__, (uint32_t)__LINE__, 0 };
static const tracy::SourceLocationData __tracy_source_location { nullptr, TracyFunction, TracyFile, (uint32_t)TracyLine, 0 };
const auto t0 = GetTime();
for( int i=0; i<Iterations; i++ )
{