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

Method record_loop_time

include/iocore/eventsystem/EThread.h:666–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666inline auto
667EThread::Metrics::record_loop_time(ink_hrtime delta) -> self_type &
668{
669 static auto constexpr DIVISOR = std::chrono::duration_cast<ts_nanoseconds>(LOOP_HISTOGRAM_BUCKET_SIZE).count();
670 current_slice.load(std::memory_order_acquire)->record_loop_duration(delta);
671 _loop_timing(delta / DIVISOR);
672 return *this;
673}
674
675inline auto
676EThread::Metrics::record_api_time(ink_hrtime delta) -> self_type &

Callers 1

execute_regularMethod · 0.80

Calls 3

record_loop_durationMethod · 0.80
countMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected