Operates on the socket writer thread
| 589 | |
| 590 | // Operates on the socket writer thread |
| 591 | TelemetryFrame* __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 | |
| 603 | void __hxcpp_hxt_ignore_allocs(int delta) |
| 604 | { |