|
CNDP
22.08.0
|
#include <cne_timer.h>
Data Fields | |
| uint64_t | expire |
| struct cne_timer * | sl_next [MAX_SKIPLIST_DEPTH] |
| volatile union cne_timer_status | status |
| uint64_t | period |
| cne_timer_cb_t | f |
| void * | arg |
A structure describing a timer in CNE.
Definition at line 89 of file cne_timer.h.
| uint64_t expire |
Time when timer expire.
Definition at line 90 of file cne_timer.h.
| struct cne_timer* sl_next[MAX_SKIPLIST_DEPTH] |
Skiplist for timers
Definition at line 91 of file cne_timer.h.
| volatile union cne_timer_status status |
Status of timer.
Definition at line 91 of file cne_timer.h.
| uint64_t period |
Period of timer (0 if not periodic).
Definition at line 93 of file cne_timer.h.
Callback function.
Definition at line 94 of file cne_timer.h.
| void* arg |
Argument to callback function.
Definition at line 95 of file cne_timer.h.