CpuSamples class

See VmService.getCpuSamples and CpuSample.

Inheritance

Constructors

CpuSamples({int? samplePeriod, int? maxStackDepth, int? sampleCount, int? timeOriginMicros, int? timeExtentMicros, int? pid, List<ProfileFunction>? functions, List<CpuSample>? samples})

Properties

functions ↔ List<ProfileFunction>?
A list of functions seen in the relevant samples. These references can be looked up using the indices provided in a CpuSample stack to determine which function was on the stack.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
json ↔ Map<String, dynamic>?
getter/setter pairinherited
maxStackDepth ↔ int?
The maximum possible stack depth for samples.
getter/setter pair
pid ↔ int?
The process ID for the VM.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleCount ↔ int?
The number of samples returned.
getter/setter pair
samplePeriod ↔ int?
The sampling rate for the profiler in microseconds.
getter/setter pair
samples ↔ List<CpuSample>?
A list of samples collected in the range [timeOriginMicros, timeOriginMicros + timeExtentMicros]
getter/setter pair
timeExtentMicros ↔ int?
The duration of time covered by the returned samples.
getter/setter pair
timeOriginMicros ↔ int?
The start of the period of time in which the returned samples were collected.
getter/setter pair
type → String
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

parse(Map<String, dynamic>? json) → CpuSamples?
override