CpuSamplesEvent class


CpuSamplesEvent({int? samplePeriod, int? maxStackDepth, int? sampleCount, 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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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


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