CpuSamples class Null safety

See getCpuSamples and CpuSample.

Inheritance

Constructors

CpuSamples({int? samplePeriod, int? maxStackDepth, int? sampleCount, int? timeSpan, 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.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
json Map<String, dynamic>?
read / writeinherited
maxStackDepth int?
The maximum possible stack depth for samples.
read / write
pid int?
The process ID for the VM.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sampleCount int?
The number of samples returned.
read / write
samplePeriod int?
The sampling rate for the profiler in microseconds.
read / write
samples List<CpuSample>?
A list of samples collected in the range [timeOriginMicros, timeOriginMicros + timeExtentMicros]
read / write
timeExtentMicros int?
The duration of time covered by the returned samples.
read / write
timeOriginMicros int?
The start of the period of time in which the returned samples were collected.
read / write
timeSpan int?
The timespan the set of returned samples covers, in microseconds (deprecated).
read / write
type String
read-onlyoverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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