PerfStats class
Performance statistics from a single frame.
- Annotations
Constructors
- PerfStats.new({required double cpuMsAvg, double? gpuMsAvg})
-
Creates performance statistics.
const
Properties
- cpuMsAvg → double
-
Average CPU frame time in milliseconds.
final
- fps → double
-
Frames per second based on CPU timing.
no setter
- fpsCpu → double
-
Frames per second based on CPU timing.
no setter
- fpsGpu → double?
-
Frames per second based on GPU timing, if available.
no setter
- gpuMsAvg → double?
-
Average GPU frame time in milliseconds, if available.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited