NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
Keeping track of the timeouts. More...
#include <timer.h>
Classes | |
class | TimeoutEntry |
Public Member Functions | |
unsigned | alloc (DATA *_data=0) |
Alloc a new timeout object. | |
unsigned | dealloc (unsigned nr, bool withcancel=false) |
Dealloc a timeout object. | |
int | cancel (unsigned nr) |
Cancel a programmed timeout. | |
int | request (unsigned nr, timevalue to) |
Request a new timeout. | |
unsigned | trigger (timevalue now, DATA **data=0) |
Get the head of the queue. | |
timevalue | timeout () |
void | init () |
Private Attributes | |
TimeoutEntry | _entries [ENTRIES] |
Keeping track of the timeouts.
|
inline |
Alloc a new timeout object.
|
inline |
Cancel a programmed timeout.
|
inline |
Dealloc a timeout object.
|
inline |
|
inline |
Request a new timeout.
|
inline |
|
inline |
Get the head of the queue.
|
private |