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

Method push_callstack_ids_into

src/hx/Telemetry.cpp:382–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380
381
382void hx::Telemetry::push_callstack_ids_into(std::vector<int> *list)
383{
384 int size = stack->getDepth();
385 for (int i = 0; i < size; i++) {
386 const char *fullName = stack->getFullNameAtDepth(i);
387 list->push_back(GetNameIdx(fullName));
388 }
389}
390
391int hx::Telemetry::GetNameIdx(const char *fullName) {
392 int idx = nameMap[fullName];

Callers

nothing calls this directly

Calls 2

getDepthMethod · 0.80
getFullNameAtDepthMethod · 0.80

Tested by

no test coverage detected