CockpitPerformanceFrame class final

One frame reported by Flutter's frame timing pipeline.

Durations and timestamps are expressed in microseconds. Compact JSON keys keep large reports inexpensive to transport while the Dart properties stay descriptive for callers.

Constructors

CockpitPerformanceFrame({required int index, required int timestampUs, required int wallTimeUs, required int buildUs, required int rasterUs, required int vsyncUs, required int totalUs, required int layerCount, required int layerBytes, required int pictureCount, required int pictureBytes, int? frameNumber, int? buildStartUs, int? buildFinishUs, int? rasterStartUs, int? rasterFinishUs})
const
CockpitPerformanceFrame.fromJson(Object? value)
factory

Properties

buildFinishUs int?
final
buildQueueUs int?
Time spent waiting between vsync and the start of the build phase.
no setter
buildStartUs int?
Raw engine phase timestamps. They are optional because synthetic hosts may provide only the aggregate FrameTiming durations.
final
buildUs int
final
frameNumber int?
final
hashCode int
The hash code for this object.
no setteroverride
index int
final
isValid bool
no setter
layerBytes int
final
layerCount int
final
pictureBytes int
final
pictureCount int
final
pipelineSpanUs int?
End-to-end engine pipeline span when all phase timestamps are present.
no setter
rasterFinishUs int?
final
rasterFinishWallTimeUs int
no setter
rasterQueueUs int?
Time spent waiting for raster work after the build phase completed.
no setter
rasterStartUs int?
final
rasterUs int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestampUs int
The engine timestamp for FramePhase.vsyncStart.
final
totalUs int
final
vsyncStartUs int
no setter
vsyncUs int
final
wallTimeUs int
The wall-time timestamp for FramePhase.rasterFinishWallTime.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override