ServerStats class

ObservANT's own numbers, from /healthz's stats; a field it cannot measure is null.

Constructors

ServerStats({double? captureFps, int? configuredFps, double? modelMs, double? modelRunsPerSecond, double? cpuPercent, int? cores, double? rssMb, double? load1m, double? temperatureC, Duration? uptime, int? viewers})
const

Properties

captureFps → double?
final
configuredFps → int?
final
cores → int?
final
cpuPercent → double?
Of one core: 100 is one core busy.
final
hashCode → int
The hash code for this object.
no setterinherited
load1m → double?
final
modelMs → double?
final
modelRunsPerSecond → double?
final
rssMb → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
temperatureC → double?
final
uptime → Duration?
final
viewers → int?
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

Static Methods

fromHealthz(String? body) → ServerStats?
null for anything but an ObservANT camera's /healthz that carries stats.