DPDK
2.0.0
|
Functions | |
uint64_t | rte_get_tsc_hz (void) |
static uint64_t | rte_get_tsc_cycles (void) |
static uint64_t | rte_get_timer_cycles (void) |
static uint64_t | rte_get_timer_hz (void) |
void | rte_delay_us (unsigned us) |
static void | rte_delay_ms (unsigned ms) |
Simple Time Reference Functions (Cycles and HPET).
|
inlinestatic |
Wait at least ms milliseconds.
ms | The number of milliseconds to wait. |
void rte_delay_us | ( | unsigned | us | ) |
Wait at least us microseconds.
us | The number of microseconds to wait. |
|
inlinestatic |
Get the number of cycles since boot from the default timer.
|
inlinestatic |
Get the number of cycles in one second for the default timer.
|
inlinestatic |
Return the number of TSC cycles since boot
uint64_t rte_get_tsc_hz | ( | void | ) |
Get the measured frequency of the RDTSC counter