MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __hxcpp_hxt_dump_telemetry

Function __hxcpp_hxt_dump_telemetry

src/hx/Telemetry.cpp:591–601  ·  view source on GitHub ↗

Operates on the socket writer thread

Source from the content-addressed store, hash-verified

589
590// Operates on the socket writer thread
591TelemetryFrame* __hxcpp_hxt_dump_telemetry(int thread_num)
592{
593#ifdef HXCPP_STACK_TRACE
594 hx::StackContext *stack = hx::StackContext::getStackForId(thread_num);
595 if (!stack || !stack->mTelemetry)
596 return 0;
597 return stack->mTelemetry->Dump();
598#else
599 return 0;
600#endif
601}
602
603void __hxcpp_hxt_ignore_allocs(int delta)
604{

Callers

nothing calls this directly

Calls 1

DumpMethod · 0.80

Tested by

no test coverage detected