SnmpKit.SnmpSim.Device.Metrics (snmpkit v2.0.1)
Uptime of a simulated device, derived from the monotonic clock at which
the device started. Used for sysUpTime.0, ifLastChange and the
sysUpTime carried by notifications the device sends.
Summary
Functions
Device uptime in milliseconds (0 when the state has no uptime_start).
Device uptime as SNMP TimeTicks (centiseconds).
Functions
@spec calculate_uptime(map()) :: non_neg_integer()
Device uptime in milliseconds (0 when the state has no uptime_start).
@spec calculate_uptime_ticks(map()) :: non_neg_integer()
Device uptime as SNMP TimeTicks (centiseconds).