The standard chrono library offers convenient time types which includes the time units. The types are 64-bit types, though.
For better 32-bit performance, a custom type for OTOS would be nice. So you only need to use
the big types, when the variable absolutely should not flow over and the smaller type otherwise.
Feature Description
The standard
chrono
library offers convenient time types which includes the time units. The types are 64-bit types, though. For better 32-bit performance, a custom type for OTOS would be nice. So you only need to use the big types, when the variable absolutely should not flow over and the smaller type otherwise.