summaryrefslogtreecommitdiffstats
path: root/src/bm/asfstats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bm/asfstats.h')
-rw-r--r--src/bm/asfstats.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/bm/asfstats.h b/src/bm/asfstats.h
index c153376..83bbc65 100644
--- a/src/bm/asfstats.h
+++ b/src/bm/asfstats.h
@@ -43,20 +43,19 @@ public:
, toTimestamp(toTimestamp)
{}
- struct UnstableStats {
+ struct StatsInfo {
+ QBitArray regressed;
+ QBitArray unchanged;
+ QBitArray improved;
QBitArray unstable;
- int zeroCount;
- int lowFromPosCount;
- int lowSFCount;
- int lowLFCount;
- int highMaxLDCount;
- UnstableStats()
- : zeroCount(0), lowFromPosCount(), lowSFCount(0), lowLFCount(0), highMaxLDCount(0) {}
+ QBitArray usZero;
+ QBitArray usLowFromPos;
+ QBitArray usLowSF;
+ QBitArray usLowLF;
+ QBitArray usHighMaxLD;
};
- void compute(
- const QList<ResultHistoryInfo *> &rhInfos, UnstableStats *usStats, int *regressed,
- int *unchanged, int *improved);
+ void compute(const QList<ResultHistoryInfo *> &rhInfos, StatsInfo *statsInfo);
private:
// Tolerances: