Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ addResults
Method
addResults
lib/timer.cpp:80–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
}
79
80
void TimerResults::addResults(const std::string& name, std::chrono::milliseconds duration)
81
{
82
std::lock_guard<std::mutex> l(mResultsSync);
83
84
mResults[name].push_back(duration);
85
}
86
87
void TimerResults::reset()
88
{
Callers
3
stop
Method · 0.45
handleRead
Method · 0.45
result
Method · 0.45
Calls
1
push_back
Method · 0.45
Tested by
1
result
Method · 0.36