PerformanceMonitor class
The main performance monitoring class
Properties
-
batteryStream
→ Stream<
BatteryData> -
no setter
- config → MonitorConfig
-
Get the current configuration
no setter
-
cpuStream
→ Stream<
CpuData> -
no setter
-
deviceStream
→ Stream<
DeviceData> -
no setter
-
diskStream
→ Stream<
DiskData> -
no setter
-
fpsStream
→ Stream<
FpsData> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
memoryStream
→ Stream<
MemoryData> -
no setter
-
networkStream
→ Stream<
NetworkData> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Dispose the performance monitor and its trackers
-
initialize(
{MonitorConfig? config}) → Future< void> - Initialize the performance monitor with the given configuration
-
log(
String message, {LogLevel level = LogLevel.info}) → void - Log a message at the specified level
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trackStartup(
) → void - Start tracking app startup time
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → PerformanceMonitor
-
The singleton instance of the performance monitor
no setter