Added method clean for eoTimerStat
This commit is contained in:
parent
16cbf69d5d
commit
aa5e8bf6f3
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue