CockpitPerformanceReport class final
A complete bounded performance capture.
Constructors
-
CockpitPerformanceReport({String schemaVersion = 'cockpit.performance/v2', required DateTime startedAt, required DateTime finishedAt, required int durationUs, required int durationMs, required String platform, required String buildMode, required CockpitPerformanceMode mode, required CockpitPerformanceSummary summary, Iterable<
CockpitPerformanceFrame> frames = const <CockpitPerformanceFrame>[], Iterable<CockpitPerformanceEvent> events = const <CockpitPerformanceEvent>[], int droppedFrames = 0, int droppedEvents = 0, int invalidFrames = 0, int invalidEvents = 0, CockpitPerformanceMemoryReport? memory, CockpitDevToolsProfile? devTools, String? timelineSource, String? stepId, CockpitPerformanceArchiveInfo? archive, Iterable<CockpitPerformancePluginStats> plugins = const <CockpitPerformancePluginStats>[]}) - CockpitPerformanceReport.fromJson(Object? value)
-
factory
Properties
- archive → CockpitPerformanceArchiveInfo?
-
final
- buildMode → String
-
final
- devTools → CockpitDevToolsProfile?
-
final
- droppedEvents → int
-
final
- droppedFrames → int
-
final
- durationMs → int
-
final
- durationUs → int
-
final
-
events
→ List<
CockpitPerformanceEvent> -
final
- finishedAt → DateTime
-
final
-
frames
→ List<
CockpitPerformanceFrame> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidEvents → int
-
final
- invalidFrames → int
-
final
- memory → CockpitPerformanceMemoryReport?
-
final
- mode → CockpitPerformanceMode
-
final
- observedFrameCount → int
-
Number of valid frames observed before bounded retention was applied.
no setter
- platform → String
-
final
-
plugins
→ List<
CockpitPerformancePluginStats> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaVersion → String
-
final
- startedAt → DateTime
-
final
- stepId → String?
-
final
- summary → CockpitPerformanceSummary
-
final
- timelineSource → String?
-
final
Methods
-
copyWithArchive(
CockpitPerformanceArchiveInfo? value) → CockpitPerformanceReport - Returns the same immutable report with live-archive metadata attached.
-
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