Skip to content
Snippets Groups Projects
Commit b60e6a5e authored by René Fritze's avatar René Fritze
Browse files

Profiler, average calc change

parent ac0c192b
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,8 @@ long Profiler::OutputAveraged(CollectiveCommunication& comm, const int refineLev
AvgMap averages;
for (MapVector::const_iterator vit = m_timings.begin(); vit != m_timings.end(); ++vit) {
for (DataMap::const_iterator it = vit->begin(); it != vit->end(); ++it) {
averages[it->first] += GetTiming(it->second);
//! this used to be GetTiming( it->second ), which is only valid thru an implicit and wrong conversion..
averages[it->first] += GetTiming(it->first);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment