| 560 | } |
| 561 | |
| 562 | ~PerfInputScope() |
| 563 | { |
| 564 | if (!m_enabled) |
| 565 | return; |
| 566 | PerfTelemetry::instance().recordInputEvent( |
| 567 | m_kind, |
| 568 | static_cast<double>(PerfTelemetry::nowNs() - m_startNs) / 1000000.0); |
| 569 | } |
| 570 | |
| 571 | private: |
| 572 | const char* m_kind; |
nothing calls this directly
no test coverage detected