Canaryd.ThermalMonitor (canaryd v0.4.0)

Copy Markdown View Source

Confirms sustained thermal pressure and limits user action prompts.

Process CPU usage is correlation evidence. It is not exact power attribution.

Summary

Functions

Evaluates one thermal sample and returns {new_state, actions}.

Functions

default_state()

evaluate(state, thermal_pressure, suspects, now)

Evaluates one thermal sample and returns {new_state, actions}.

Actions are {:alert, process, suspects}, {:choose, process, suspects}, or {:report, suspects}.