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

Method record_loop_duration

include/iocore/eventsystem/EThread.h:600–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600inline auto
601EThread::Metrics::Slice::record_loop_duration(ink_hrtime delta) -> self_type &
602{
603 if (delta > _duration._max) {
604 _duration._max = delta;
605 _duration._io_work_at_max = _duration._last_io_work;
606 }
607 if (delta < _duration._min) {
608 _duration._min = delta;
609 }
610 return *this;
611}
612
613inline auto
614EThread::Metrics::Slice::record_event_count(int count) -> self_type &

Callers 1

record_loop_timeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected