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

Function run

lib/timer.h:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74 template<class TFunc>
75 static void run(std::string str, TimerResultsIntf* timerResults, const TFunc& f) {
76 Timer t(std::move(str), timerResults);
77 f();
78 }
79
80private:
81 const std::string mName;

Callers 7

run_onceMethod · 0.70
runMethod · 0.70
simplifyTokens1Method · 0.70
simplifyTokenList1Method · 0.70
checkInternalMethod · 0.70
checkNormalTokensMethod · 0.70
executeAddonsMethod · 0.70

Calls 1

fFunction · 0.50

Tested by

no test coverage detected