Timeseries class

Series of time recordings indexed in time order.

It can calculate average, standardDeviation and noise. If the amount of data collected is higher than _kMeasuredSampleCount, then these calculations will only apply to the latest _kMeasuredSampleCount data points.

Constructors

Timeseries(String name, bool isReported, {bool useCustomWarmUp = false})
Creates an empty timeseries.

Properties

count int
The total amount of data collected, including ones that were dropped because of the sample size limit.
no setter
hashCode int
The hash code for this object.
no setterinherited
isReported bool
Whether this timeseries is reported to the benchmark dashboard.
final
name String
The label of this timeseries used for debugging and result inspection.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useCustomWarmUp bool
Whether to delimit warm-up frames in a custom way.
final
warmUpFrameCount int
The number of frames ignored as warm-up frames.
no setter

Methods

add(double value, {required bool isWarmUpValue}) → void
Adds a value to this timeseries.
computeStats() TimeseriesStats
Extracts useful statistics out of this timeseries.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited