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

Method mark

include/proxy/Milestones.h:50–56  ·  view source on GitHub ↗

* Mark given milestone with timestamp if it's not marked yet * @param ms The milestone to mark * @return N/A */

Source from the content-addressed store, hash-verified

48 * @return N/A
49 */
50 void
51 mark(T ms)
52 {
53 if (this->_milestones[static_cast<size_t>(ms)] == 0) {
54 this->_milestones[static_cast<size_t>(ms)] = ink_get_hrtime();
55 }
56 }
57
58 /**
59 * Takes two milestones and returns the difference.

Callers 1

mark_milestoneMethod · 0.45

Calls 1

ink_get_hrtimeFunction · 0.85

Tested by

no test coverage detected