![]() |
MOS Source Code
|
#include "mos/device/timer.hpp"#include "mos/device/clocksource.hpp"#include "mos/lib/structures/list.hpp"#include "mos/lib/sync/spinlock.hpp"#include "mos/platform/platform.hpp"#include "mos/tasks/schedule.hpp"#include "mos/tasks/signal.hpp"Go to the source code of this file.
Functions | |
| static bool | timer_do_wakeup (ktimer_t *timer, void *arg) |
| void | timer_tick () |
| long | timer_msleep (u64 ms) |
Variables | |
| static list_head | timer_queue |
| list of timers that are waiting to be executed | |
| static spinlock_t | timer_queue_lock |
Definition at line 15 of file timer.cpp.
Referenced by timer_msleep().
Definition at line 25 of file timer.cpp.
Referenced by clocksource_tick().
| long timer_msleep | ( | u64 | ms | ) |
Definition at line 39 of file timer.cpp.
Referenced by clock_msleep(), and vfs_flusher_entry().
|
static |
list of timers that are waiting to be executed
Definition at line 12 of file timer.cpp.
Referenced by timer_msleep(), and timer_tick().
|
static |
Definition at line 13 of file timer.cpp.
Referenced by timer_msleep(), and timer_tick().