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
In RunStats merge, if one input has accumulate enabled and the other does not, the accumulated value of the one without will be reconstructed from the mean and count
GlobalAnomalyStats function profile now accumulates total runtime for each function over all ranks/threads. Modified unit tests to adapt to this change.
Copy file name to clipboardExpand all lines: test/unit_tests/pserver/AggregateFuncStats.cpp
+49-8Lines changed: 49 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,15 @@ using namespace chimbuko;
9
9
10
10
TEST(TestAggregateFuncStats, AggregationAndJSON){
11
11
//Generate some stats representing the inclusive and exclusive runtimes collected over 2 different io steps
12
-
RunStats incl1, incl2, excl1, excl2;
12
+
RunStats incl1(true), incl2(true), excl1(true), excl2(true); //total runtimes should aggregate
13
+
RunStats incl1_noac(false), incl2_noac(false), excl1_noac(false), excl2_noac(false); //versions which don't accumulate so we can test that AggregateFuncStats forces accumulate despite input settings
0 commit comments