Time Duration
The time duration is a measure of how many ticks have passed since a certain time point. The implementation is presented in this lesson.
We'll cover the following...
We'll cover the following...
Time duration
Time duration is the difference between the two time-points. Time duration is measured in the number of ticks.
If Rep is a floating-point number, the time duration supports fractions of ticks. The most important time durations are predefined in the chrono library:
How long can a time duration be? The C++ standard guarantees that the predefined time durations can store +/- 292 years. You can easily define your own time duration ...