Added method clean for eoTimerStat

This commit is contained in:
Benjamin BOUVIER 2012-09-18 20:50:26 -04:00
commit aa5e8bf6f3

View file

@ -318,6 +318,14 @@ class eoTimerStat
return _stats;
}
/**
* @brief Empties the statistics map.
*/
void clear()
{
_stats.clear();
}
protected:
// Statistics map: links a key (string) to a statistic.
std::map< std::string, Stat > _stats;