Timing measurement
How kernel recognize time passed
- Element events (CPU instructions) have duration of only a few nanoseconds
- However, OS operates on macroscopic time scale (ms)
- Computer flow of time is discrete so it treat events in same time interval occurred simultaneously
Components of time measurements
- Hardware clock devices
- Kernel data structures and functions to measure time
- Timing-related system calls
Timer Interrupt notion