CpuSamplesEvent class Null safety


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


functions List?
A list of references to 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.
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.
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


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


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

Static Methods

parse(Map<String, dynamic>? json) CpuSamplesEvent?