AllocationAccumulator class
Monitor heap object allocations (in the VM). The allocation monitor will cause 'start' event exist in the HeapSample. Immediately afterwards a 'continues' event is added on each subsequent timestamp tick (HeapSample) until another monitor start event. A 'reset' event stops the 'continues' event for one timestamp tick with a 'reset' event. Immediately after the reset event a 'continues' event will again appear in the HeapSample's MemoryEventInfo - until a new monitor is started. One monitor exists per VM connection.
Constructors
- AllocationAccumulator(bool _start, bool _continues, bool _reset)
- AllocationAccumulator.continues()
-
AllocationAccumulator.fromJson(Map<
String, dynamic> json) -
factory
- AllocationAccumulator.reset()
- AllocationAccumulator.start()
Properties
- continuesVisible ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isContinues → bool
-
no setter
- isContinuesVisible → bool
-
no setter
- isEmpty → bool
-
no setter
- isReset → bool
-
no setter
- isStart → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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