You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
696 B
C++
21 lines
696 B
C++
// SPDX-License-Identifier: BSD-2-Clause
|
|
// Copyright CM4all GmbH
|
|
// author: Max Kellermann <mk@cm4all.com>
|
|
|
|
#pragma once
|
|
|
|
#include "FineTimerEvent.hxx"
|
|
|
|
/**
|
|
* A coarse timer event which schedules far into the future. Use this
|
|
* when you need a coarse resolution, but the supported time span of
|
|
* #CoarseTimerEvent is not enough. For example, a good use case is
|
|
* timers which fire only every few minutes and do periodic cleanup.
|
|
*
|
|
* Right now, this is just an alias for #FineTimerEvent. This class
|
|
* supports arbitrary time spans, but uses a high-resolution timer.
|
|
* Eventually, we may turn this into a timer wheel with minute
|
|
* resolution.
|
|
*/
|
|
using FarTimerEvent = FineTimerEvent;
|