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
Added value constructors for Commdata_t, CounterData_t and ExecData_t
ADCounter can now be passed CounterData_t instances directly rather than as an Event_t
//If the counter name map is linked, check the name matches
27
+
if(m_counterMap){
28
+
auto it = m_counterMap->find(cdata.get_counterid());
29
+
if(it == m_counterMap->end()) fatal_error("Counter index " + std::to_string(cdata.get_counterid()) + " could not be found in map");
30
+
if(it->second != cdata.get_countername()) fatal_error("Counter name " + cdata.get_countername() + " does not match the name in the index map, " + it->second);
31
+
}
32
+
33
+
//If this is the first counter after a flush, we recreate the list
34
+
if(!m_counters) m_counters = new CounterDataListMap_p_t;
35
+
36
+
auto &count_list_prt = (*m_counters)[cdata.get_pid()][cdata.get_rid()][cdata.get_tid()];
0 commit comments