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

Method SendCallstack

Source/ThirdParty/tracy/client/TracyProfiler.cpp:4459–4468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4457}
4458
4459void Profiler::SendCallstack( int depth )
4460{
4461 if( depth > 0 && has_callstack() )
4462 {
4463 auto ptr = Callstack( depth );
4464 TracyQueuePrepare( QueueType::Callstack );
4465 MemWrite( &item->callstackFat.ptr, (uint64_t)ptr );
4466 TracyQueueCommit( callstackFatThread );
4467 }
4468}
4469
4470void Profiler::ParameterRegister( ParameterCallback cb, void* data )
4471{

Calls 3

has_callstackFunction · 0.85
CallstackFunction · 0.85
MemWriteFunction · 0.85

Tested by

no test coverage detected