MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / SendCallstack

Method SendCallstack

Dependencies/tracy/client/TracyProfiler.cpp:3871–3881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3869}
3870
3871void Profiler::SendCallstack( int depth, const char* skipBefore )
3872{
3873#ifdef TRACY_HAS_CALLSTACK
3874 auto ptr = Callstack( depth );
3875 CutCallstack( ptr, skipBefore );
3876
3877 TracyQueuePrepare( QueueType::Callstack );
3878 MemWrite( &item->callstackFat.ptr, (uint64_t)ptr );
3879 TracyQueueCommit( callstackFatThread );
3880#endif
3881}
3882
3883void Profiler::CutCallstack( void* callstack, const char* skipBefore )
3884{

Calls 2

CallstackFunction · 0.85
MemWriteFunction · 0.85

Tested by

no test coverage detected