WeightedSnapshot class
A statistical snapshot of a WeightedSnapshot.
Constructors
-
WeightedSnapshot(Iterable<
WeightedSample> values) -
Create a new Snapshot with the given
values
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → int
-
The highest value in the snapshot.
no setteroverride
- mean → double
-
The arithmetic mean of the values in the snapshot.
no setteroverride
- median → double
-
The median value in the distribution.
no setterinherited
- min → int
-
The lowest value in the snapshot.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The number of values in the snapshot.
no setteroverride
- stdDev → double
-
The standard deviation of the values in the snapshot.
no setteroverride
-
values
→ List<
int> -
The entire set of values in the snapshot.
no setteroverride
Methods
-
dump(
StringSink sink) → void -
Writes the values of the snapshot to the given
sink
.override -
get75thPercentile(
) → double -
Returns the value at the 75th percentile in the distribution.
inherited
-
get95thPercentile(
) → double -
Returns the value at the 95th percentile in the distribution.
inherited
-
get98thPercentile(
) → double -
Returns the value at the 98th percentile in the distribution.
inherited
-
get999thPercentile(
) → double -
Returns the value at the 99.9th percentile in the distribution.
inherited
-
get99thPercentile(
) → double -
Returns the value at the 99th percentile in the distribution.
inherited
-
getValue(
num quantile) → double -
Returns the value at the given
quantile
(between 0 and 1).override -
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