MCPcopy Create free account
hub / github.com/apache/trafficserver / record_api_time

Method record_api_time

include/iocore/eventsystem/EThread.h:675–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675inline auto
676EThread::Metrics::record_api_time(ink_hrtime delta) -> self_type &
677{
678 static auto constexpr DIVISOR = std::chrono::duration_cast<ts_nanoseconds>(LOOP_HISTOGRAM_BUCKET_SIZE).count();
679 _api_timing(delta / DIVISOR);
680 return *this;
681}
682
683inline auto
684EThread::Metrics::decay() -> self_type &

Callers 1

Calls 1

countMethod · 0.45

Tested by

no test coverage detected