rte_timecounter(3)
π
rte_timecounter(3) β Library Functions Manual π
okay bestie, welcome to the Library Functions Manual page for rte_timecounter(3). This one is a struct manual moment β no cap, it's all about the data fields and their exact definitions. Let's get into it. π«Ά
β¨ NAME β¨
rte_timecounter
π SYNOPSIS π
#include <rte_time.h>
πΈ Data Fields πΈ
uint64_t cycle_lastuint64_t nsecuint64_t nsec_maskuint64_t nsec_fracuint64_t cc_maskuint32_t cc_shift
π¦ Detailed Description π¦
Okay so this is the structure to hold the parameters of a running cycle counter, and it's there to assist in converting cycles to nanoseconds. Time math but make it struct, periodt. β³β¨
Definition at line 21 of file rte_time.h.
π Field Documentation π
uint64_t cycle_last
Last cycle counter value read.
Definition at line 23 of file rte_time.h.
uint64_t nsec
Nanoseconds count.
Definition at line 25 of file rte_time.h.
uint64_t nsec_mask
Bitmask separating nanosecond and sub-nanoseconds.
Definition at line 27 of file rte_time.h.
uint64_t nsec_frac
Sub-nanoseconds count.
Definition at line 29 of file rte_time.h.
uint64_t cc_mask
Bitmask for two's complement subtraction of non-64 bit counters.
Definition at line 31 of file rte_time.h.
uint32_t cc_shift
Cycle to nanosecond divisor (power of two).
Definition at line 33 of file rte_time.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (Doxygen ate and left no crumbs, bestie.) π
π That's the whole glow-up of rte_timecounter(3)! This page comes from DPDK Version 26.03.0, and it's signing off with a little sparkle. Catch you in the next manpage, bestie! ππ
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms