logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                              rte_timecounter(3)

Detailed Description

       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.

Field Documentation

uint64_tcycle_last
       Last cycle counter value read.

       Definition at line 23 of file rte_time.h.

   uint64_tnsec
       Nanoseconds count.

       Definition at line 25 of file rte_time.h.

   uint64_tnsec_mask
       Bitmask separating nanosecond and sub-nanoseconds.

       Definition at line 27 of file rte_time.h.

   uint64_tnsec_frac
       Sub-nanoseconds count.

       Definition at line 29 of file rte_time.h.

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

       Definition at line 31 of file rte_time.h.

   uint32_tcc_shift
       Cycle to nanosecond divisor (power of two).

       Definition at line 33 of file rte_time.h.

Name

       rte_timecounter

Synopsis

       #include <rte_time.h>

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

See Also