MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / resume

Method resume

src/openms/source/SYSTEM/StopWatch.cpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 void StopWatch::resume()
66 {
67 if (is_running_)
68 {
69 throw Exception::Precondition(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "StopWatch cannot be resumed if already running!");
70 }
71
72 last_start_ = snapShot_();
73 is_running_ = true;
74 }
75
76 void StopWatch::reset()
77 {

Callers 1

StopWatch_test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected