SysStats class
CPU 和内存统计信息
Properties
- cpuAppUsage → double?
-
当前应用的 CPU 使用率,取值范围为
[0, 1]
final - cpuCores → int?
-
当前系统 CPU 核数
final
- cpuTotalUsage → double?
-
当前系统的 CPU 使用率,取值范围为
[0, 1]
final - freeMemory → int?
-
系统当前空闲可分配内存 (MB)
final
- fullMemory → int?
-
设备的内存大小(MB)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- memoryRatio → double?
-
当前应用的内存使用率 (%)
final
- memoryUsage → double?
-
当前应用的内存使用量(MB)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalMemoryRatio → double?
-
系统内存使用率 (%)
final
- totalMemoryUsage → int?
-
系统已使用内存(MB)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited