MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / reset

Method reset

libCacheSim/dataStructure/sparsepp/spp_timer.h:35–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 public:
34 Timer() { reset(); }
35 void reset() { _start = _snap = clock::now(); }
36 void snap() { _snap = clock::now(); }
37
38 float get_total() const { return get_diff<float>(_start, clock::now()); }

Callers 5

node.hppFile · 0.45
~basic_nodeFunction · 0.45
add_anchor_nameFunction · 0.45
can_clearMethod · 0.45
clearMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected