MCPcopy Create free account
hub / github.com/crossuo/crossuo / SendCallstack

Method SendCallstack

external/tracy/client/TracyProfiler.cpp:2680–2690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2678}
2679
2680void Profiler::SendCallstack( int depth, const char* skipBefore )
2681{
2682#ifdef TRACY_HAS_CALLSTACK
2683 auto ptr = Callstack( depth );
2684 CutCallstack( ptr, skipBefore );
2685
2686 TracyLfqPrepare( QueueType::Callstack );
2687 MemWrite( &item->callstack.ptr, (uint64_t)ptr );
2688 TracyLfqCommit;
2689#endif
2690}
2691
2692void Profiler::CutCallstack( void* callstack, const char* skipBefore )
2693{

Callers 6

GpuCtxScopeClass · 0.45
CrashFilterFunction · 0.45
CrashHandlerFunction · 0.45
ScopedZoneClass · 0.45

Calls 2

CallstackFunction · 0.85
MemWriteFunction · 0.85

Tested by

no test coverage detected