MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / reset

Method reset

lib/timer.cpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void TimerResults::reset()
88{
89 std::lock_guard<std::mutex> l(mResultsSync);
90 mResults.clear();
91}
92
93Timer::Timer(std::string str, TimerResultsIntf* timerResults)
94 : mName(std::move(str))

Callers 11

library.cppFile · 0.45
ValuePtrFunction · 0.45
token.cppFile · 0.45
OneShotTimerMethod · 0.45
checkClangMethod · 0.45
checkMethod · 0.45
checkInternalMethod · 0.45
checkMethod · 0.45
check_internalMethod · 0.45
checkMethod · 0.45
threadDoneMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected