| 3869 | } |
| 3870 | |
| 3871 | void 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 | |
| 3883 | void Profiler::CutCallstack( void* callstack, const char* skipBefore ) |
| 3884 | { |
no test coverage detected