diff --git a/eo/src/utils/eoTimer.h b/eo/src/utils/eoTimer.h index 4ff451b4..23d6df92 100644 --- a/eo/src/utils/eoTimer.h +++ b/eo/src/utils/eoTimer.h @@ -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;