|
M5Utility 0.2.0 git rev:301a6b5
|
Millisecond duration count; only .count() is provided, unlike the std::chrono::milliseconds used everywhere else (below).
More...
#include <library_log.hpp>
Public Member Functions | |
| constexpr | elapsed_time_t (uint32_t value) |
| constexpr uint32_t | count () const |
Public Attributes | |
| uint32_t | ms |
Millisecond duration count; only .count() is provided, unlike the std::chrono::milliseconds used everywhere else (below).
Deliberate, narrowly-scoped API difference: in this environment <chrono> does not compile at all (see M5UTILITY_HAS_USABLE_CHRONO in platform_detect.hpp), so there is no working std::chrono::milliseconds to preserve here. Code that needs duration arithmetic/comparison/rep/ period on elapsedTime()'s return value will need to adapt when building for this environment.