CNDP 22.08.0
Loading...
Searching...
No Matches
cne_cycles.h File Reference
#include <cne_atomic.h>
#include <cne_common.h>

Go to the source code of this file.

Functions

static uint64_t cne_rdtsc (void)
static uint64_t cne_rdtsc_precise (void)

Function Documentation

◆ cne_rdtsc()

uint64_t cne_rdtsc ( void )
inlinestatic

Read and return the timestamp counter value

Returns
Returns the 64bit timesample counter value.

Definition at line 32 of file cne_cycles.h.

◆ cne_rdtsc_precise()

uint64_t cne_rdtsc_precise ( void )
inlinestatic

Read and return the timestamp precise counter value

Returns
Returns the 64bit timesample counter value.

Definition at line 58 of file cne_cycles.h.