Monotonic clock Vs Wall-Clock
- Éloïse Hamadi
- 25 août
- 1 min de lecture
I was trying to comprhend the difference between std::chrono::system_clock and std::chrono_steady_clock and I saw the term monotonic clock. That triggered my attention.
Wall-Clock based on NTP(Network Time Protocol) time can be adjusting back or forward.
From UTC (leap seconds) or network delay, change DST( daylight saving time).
It gives real time of the world.
.
Monotonic clock is a measurement of the time the system has been actively running since boot.
It is steady useful for calculate time interval.


Commentaires