CpuSample class

See getCpuSamples and CpuSamples.

Constructors

CpuSample({@required int tid, @required int timestamp, @required List<int> stack, String vmTag, String userTag, bool truncated})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stack List<int>
The call stack at the time this sample was collected. The stack is to be interpreted as top to bottom. Each element in this array is a key into the functions array in CpuSamples. [...]
read / write
tid int
The thread ID representing the thread on which this sample was collected.
read / write
timestamp int
The time this sample was collected in microseconds.
read / write
truncated bool
Provided and set to true if the sample's stack was truncated. This can happen if the stack is deeper than the stackDepth in the CpuSamples response.
@optional, read / write
userTag String
The name of the User tag set when this sample was collected. Omitted if no User tag was set when this sample was collected.
@optional, read / write
vmTag String
The name of VM tag set when this sample was collected. Omitted if the VM tag for the sample is not considered valid.
@optional, read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
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) CpuSample