DPDK  17.02.1
Data Fields
rte_timer Struct Reference

#include <rte_timer.h>

Data Fields

uint64_t expire
union rte_timer_status status
uint64_t period
rte_timer_cb_t f
void * arg

Detailed Description

A structure describing a timer in RTE.

examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l3fwd-power/main.c, examples/performance-thread/common/lthread_sched.c, and examples/timer/main.c.

Definition at line 127 of file rte_timer.h.

Field Documentation

uint64_t expire

Time when timer expire.

Definition at line 129 of file rte_timer.h.

union rte_timer_status status

Status of timer.

Definition at line 131 of file rte_timer.h.

uint64_t period

Period of timer (0 if not periodic).

Definition at line 132 of file rte_timer.h.

Callback function.

Definition at line 133 of file rte_timer.h.

void* arg

Argument to callback function.

examples/l3fwd-power/main.c, and examples/timer/main.c.

Definition at line 134 of file rte_timer.h.

The documentation for this struct was generated from the following file: