You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Collect anomaly statistics into JSON object and flush the m_anomaly_stats statistics
@@ -109,8 +102,8 @@ namespace chimbuko{
109
102
nlohmann::json collect();
110
103
111
104
protected:
112
-
std::unordered_map<int, std::unordered_map<unsignedlong, AnomalyStat> > m_anomaly_stats; /**< Map of program index and rank to the statistics of the number of anomalies per step and the AnomalyData objects that have been added by that AD instance since the last flush */
113
-
std::unordered_map<unsignedlong, std::unordered_map<unsignedlong, FuncStats> > m_funcstats; /**< Map of program index and function index to aggregated profile statistics on the function*/
105
+
std::unordered_map<int, std::unordered_map<unsignedlong, AggregateAnomalyData> > m_anomaly_stats; /**< Map of program index and rank to the statistics of the number of anomalies per step and the AnomalyData objects that have been added by that AD instance since the last flush */
106
+
std::unordered_map<unsignedlong, std::unordered_map<unsignedlong, AggregateFuncStats> > m_funcstats; /**< Map of program index and function index to aggregated profile statistics on the function*/
114
107
mutable std::mutex m_mutex_anom; /**< Mutex for global anomaly statistics */
115
108
mutable std::mutex m_mutex_func; /**< Mutex for global function statistics */
0 commit comments