OffsetAverager
Undocumented
-
Add a new item to averager’s list - parameter: offset A measurement to average - parameter: dispersion
- returns: the moving average after adding this measurementDeclaration
Objective-C
- (uint64_t)put:(uint64_t)offset Dispersion:(float_t)dispersion;
Swift
func put(_ offset: UInt64, dispersion: float_t) -> UInt64
Parameters
offset
A measurement to average
dispersion
Return Value
the moving average after adding this measurement
-
get the current moving average
Declaration
Objective-C
- (uint64_t)getMovingAverage;
Swift
func getMovingAverage() -> UInt64
-
Undocumented