312 B
312 B
What are the two methods for measuring the state of an entity (e.g., "Device Busy")?
- Event Logging: Record when it "goes busy" and "goes idle," then sum the total time.
- Sampling: Use a timer-based daemon to periodically check the state and count how often it is busy vs idle.