DOKK / manpages / debian 13 / dpdk-doc / rte_timecounter.3.en
rte_timecounter(3) Library Functions Manual rte_timecounter(3)

rte_timecounter

#include <rte_time.h>


uint64_t cycle_last
uint64_t nsec
uint64_t nsec_mask
uint64_t nsec_frac
uint64_t cc_mask
uint32_t cc_shift

Structure to hold the parameters of a running cycle counter to assist in converting cycles to nanoseconds.

Definition at line 21 of file rte_time.h.

Last cycle counter value read.

Definition at line 23 of file rte_time.h.

Nanoseconds count.

Definition at line 25 of file rte_time.h.

Bitmask separating nanosecond and sub-nanoseconds.

Definition at line 27 of file rte_time.h.

Sub-nanoseconds count.

Definition at line 29 of file rte_time.h.

Bitmask for two's complement subtraction of non-64 bit counters.

Definition at line 31 of file rte_time.h.

Cycle to nanosecond divisor (power of two).

Definition at line 33 of file rte_time.h.

Generated automatically by Doxygen for DPDK from the source code.

Version 24.11.3 DPDK