Skip to main content

Module watcher

Module watcher 

Source
Expand description

Dynamic system-profile watcher for hot-plug hardware detection.

SystemProfileWatcher monitors OS-specific sources for hardware changes (GPU hot-plug, driver install, memory change) and publishes updates via a broadcast channel so downstream subsystems can re-tune.

Structs§

SystemProfileWatcher
Watcher for dynamic hardware changes.

Enums§

ProfileChange
Events published by the watcher.

Functions§

check_for_changes
Run a single watch cycle: detect changes and return a new SystemProfile if hardware has changed since last.