Motr
M0
|
#include "lib/timer.h"
#include "lib/misc.h"
#include "lib/assert.h"
#include "lib/thread.h"
#include "lib/trace.h"
Go to the source code of this file.
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_LIB |
Functions | |
M0_INTERNAL int | m0_timer_init (struct m0_timer *timer, enum m0_timer_type type, struct m0_timer_locality *loc, m0_timer_callback_t callback, unsigned long data) |
M0_INTERNAL void | m0_timer_fini (struct m0_timer *timer) |
M0_INTERNAL void | m0_timer_start (struct m0_timer *timer, m0_time_t expire) |
M0_INTERNAL void | m0_timer_stop (struct m0_timer *timer) |
M0_INTERNAL bool | m0_timer_is_started (const struct m0_timer *timer) |
M0_INTERNAL void | m0_timer_callback_execute (struct m0_timer *timer) |