3303-flashcards/hATaBiZQ - 3303/7Q6BA8X8 - What are the two methods for measuring the state of an entity eg Device Busy.md
gwg313 e83b60af4f
first commit
update readme

reformat
2026-04-20 23:10:20 -04:00

312 B

What are the two methods for measuring the state of an entity (e.g., "Device Busy")?


  1. Event Logging: Record when it "goes busy" and "goes idle," then sum the total time.
  2. Sampling: Use a timer-based daemon to periodically check the state and count how often it is busy vs idle.