DPDK  16.11.9
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, l2fwd-keepalive/main.c, l3fwd-power/main.c, performance-thread/common/lthread_sched.c, and 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 timer/main.c.

Definition at line 134 of file rte_timer.h.


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