#include <algorithm>
#include <chrono>
#include <cstdint>
#include <stdexcept>
#include <string>
Go to the source code of this file.
|
| constexpr std::chrono::microseconds | ecs::MAX_INTERVAL = std::chrono::hours(24 * 36525) |
| | The longest interval or timer length that is accepted: 100 years of 365.25 days.
|
| |
| constexpr std::chrono::microseconds | ecs::DEFAULT_INTERVAL {1000000 / 30} |
| | The interval of a new schedule: 33 333 microseconds, about 30 updates a second.
|
| |
| constexpr uint32_t | ecs::MAX_CATCHUP = 2 |
| | Maximum number of intervals to catch up after a stall.
|
| |