Added ftm attributes to WiFiMeasurement
This commit is contained in:
@@ -59,6 +59,10 @@ namespace Stats {
|
||||
return sum / (double) cnt;
|
||||
}
|
||||
|
||||
T getSquaredSumAvg() const {
|
||||
return sumSquared / (double)cnt;
|
||||
}
|
||||
|
||||
/** get the given quantile (e.g. 0.5 for median) */
|
||||
T getQuantile(const double q) const {
|
||||
if (q < 0) {return *values.begin();}
|
||||
|
||||
Reference in New Issue
Block a user