PerformanceMonitor class
Monitors frame performance and provides adaptive metrics
Constructors
Properties
- averageFrameTime → Duration?
-
Get average frame time over the sample window
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- recordedFrameCount → int
-
Get the number of recorded frame times
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void - Clear all recorded times
-
isDroppingFrames(
) → bool - Check if we're consistently dropping frames (< 50 FPS)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordFrameTime(
Duration frameDuration) → void - Record the duration of a frame
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited