CpuSample class
See VmService.getCpuSamples and CpuSamples.
Constructors
Properties
- classId ↔ int?
-
Matches the index of a class in HeapSnapshot.classes. Provided for
CpuSample instances returned from a getAllocationTraces().
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- identityHashCode ↔ int?
-
The identityHashCode assigned to the allocated object. This hash code is
the same as the hash code provided in HeapSnapshot. Provided for CpuSample
instances returned from a getAllocationTraces().
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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 inCpuSamples
.getter/setter pair - tid ↔ int?
-
The thread ID representing the thread on which this sample was collected.
getter/setter pair
- timestamp ↔ int?
-
The time this sample was collected in microseconds.
getter/setter pair
- 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 theCpuSamples
response.getter/setter pair - 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.
getter/setter pair
- 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.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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