CockpitDevToolsProfile class final
Bounded projections of the VM data exposed by Flutter DevTools.
These models intentionally keep the report transport compact while preserving the raw sampling information needed to build a flame view or inspect allocation hot spots. Unsupported data is represented by an explicit state; callers must never interpret an absent metric as zero.
Constructors
-
CockpitDevToolsProfile({required String source, required String state, String? reason, CockpitCpuProfile? cpu, CockpitHeapProfile? heap, CockpitGcProfile? gc, CockpitGpuProfile? gpu, CockpitIsolateProfile? isolate, CockpitTimelineProfile? timeline, CockpitDisplayProfile? display, CockpitRebuildProfile? rebuild, CockpitVmRuntimeProfile? vm, CockpitVmMemoryProfile? vmMemory, Iterable<
CockpitAllocationTrace> allocationTraces = const <CockpitAllocationTrace>[], Iterable<CockpitVmLogEvent> logs = const <CockpitVmLogEvent>[], Iterable<CockpitVmDebugEvent> debug = const <CockpitVmDebugEvent>[], int droppedLogs = 0, int droppedDebug = 0, CockpitPerfettoProfile? perfetto}) - CockpitDevToolsProfile.fromJson(Object? value)
-
factory
Properties
-
allocationTraces
→ List<
CockpitAllocationTrace> -
final
- cpu → CockpitCpuProfile?
-
final
-
debug
→ List<
CockpitVmDebugEvent> -
final
- display → CockpitDisplayProfile?
-
final
- droppedDebug → int
-
final
- droppedLogs → int
-
final
- gc → CockpitGcProfile?
-
final
- gpu → CockpitGpuProfile?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heap → CockpitHeapProfile?
-
final
- isolate → CockpitIsolateProfile?
-
final
-
logs
→ List<
CockpitVmLogEvent> -
final
- perfetto → CockpitPerfettoProfile?
-
final
- reason → String?
-
final
- rebuild → CockpitRebuildProfile?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
final
- state → String
-
final
- timeline → CockpitTimelineProfile?
-
final
- vm → CockpitVmRuntimeProfile?
-
final
- vmMemory → CockpitVmMemoryProfile?
-
final
Methods
-
copyWith(
{CockpitCpuProfile? cpu, CockpitHeapProfile? heap, CockpitGcProfile? gc, CockpitGpuProfile? gpu, CockpitIsolateProfile? isolate, CockpitTimelineProfile? timeline, CockpitDisplayProfile? display, CockpitRebuildProfile? rebuild, CockpitVmRuntimeProfile? vm, CockpitVmMemoryProfile? vmMemory, Iterable< CockpitAllocationTrace> ? allocationTraces, Iterable<CockpitVmLogEvent> ? logs, Iterable<CockpitVmDebugEvent> ? debug, int? droppedLogs, int? droppedDebug, CockpitPerfettoProfile? perfetto}) → CockpitDevToolsProfile -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{bool includeRaw = false}) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited