| 389 | } |
| 390 | |
| 391 | int hx::Telemetry::GetNameIdx(const char *fullName) { |
| 392 | int idx = nameMap[fullName]; |
| 393 | if (idx==0) { |
| 394 | idx = names.size(); |
| 395 | nameMap[fullName] = idx; |
| 396 | names.push_back(fullName); |
| 397 | } |
| 398 | return idx; |
| 399 | } |
| 400 | |
| 401 | int hx::Telemetry::ComputeCallStackId() { |
| 402 | std::vector<int> callstack; |