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

Method difference_sec

include/proxy/Milestones.h:79–83  ·  view source on GitHub ↗

* Takes two milestones and returns the difference. * @param start The start time * @param end The end time * @return A double that is the difference time in seconds */

Source from the content-addressed store, hash-verified

77 * @return A double that is the difference time in seconds
78 */
79 double
80 difference_sec(T ms_start, T ms_end) const
81 {
82 return static_cast<double>(difference_msec(ms_start, ms_end) / 1000.0);
83 }
84
85 /**
86 * Takes two milestones and returns the difference.

Callers 5

update_statsMethod · 0.80
~Http2StreamMethod · 0.80
common_freeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected