DPDK  19.08.2
Data Fields
rte_timer Struct Reference

#include <rte_timer.h>

Data Fields

uint64_t expire
 
volatile 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:
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 100 of file rte_timer.h.

Field Documentation

uint64_t expire

Time when timer expire.

Definition at line 102 of file rte_timer.h.

volatile union rte_timer_status status

Status of timer.

Definition at line 104 of file rte_timer.h.

uint64_t period

Period of timer (0 if not periodic).

Definition at line 105 of file rte_timer.h.

Callback function.

Definition at line 106 of file rte_timer.h.

void* arg

Argument to callback function.

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

Definition at line 107 of file rte_timer.h.


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