API Reference Manual
1.46.0
|
ODP CPU API. More...
Go to the source code of this file.
Functions | |
int | odp_cpu_id (void) |
CPU identifier. More... | |
int | odp_cpu_count (void) |
CPU count. More... | |
const char * | odp_cpu_model_str (void) |
CPU model name of this CPU. More... | |
const char * | odp_cpu_model_str_id (int id) |
CPU model name of a CPU. More... | |
uint64_t | odp_cpu_hz (void) |
Current CPU frequency in Hz. More... | |
uint64_t | odp_cpu_hz_id (int id) |
Current CPU frequency of a CPU (in Hz) More... | |
uint64_t | odp_cpu_hz_max (void) |
Maximum CPU frequency in Hz. More... | |
uint64_t | odp_cpu_hz_max_id (int id) |
Maximum CPU frequency of a CPU (in Hz) More... | |
uint64_t | odp_cpu_cycles (void) |
Current CPU cycle count. More... | |
uint64_t | odp_cpu_cycles_diff (uint64_t c2, uint64_t c1) |
CPU cycle count difference. More... | |
uint64_t | odp_cpu_cycles_max (void) |
Maximum CPU cycle count. More... | |
uint64_t | odp_cpu_cycles_resolution (void) |
Resolution of CPU cycle count. More... | |
void | odp_cpu_pause (void) |
Pause CPU execution for a short while. More... | |
void | odp_prefetch (const void *addr) |
Prefetch into data cache. More... | |
void | odp_prefetch_l1 (const void *addr) |
Prefetch into L1 data cache. More... | |
void | odp_prefetch_l2 (const void *addr) |
Prefetch into L2 data cache. More... | |
void | odp_prefetch_l3 (const void *addr) |
Prefetch into L3 data cache. More... | |
void | odp_prefetch_store (const void *addr) |
Prefetch into data cache for storing. More... | |
void | odp_prefetch_store_l1 (const void *addr) |
Prefetch into L1 data cache for storing. More... | |
void | odp_prefetch_store_l2 (const void *addr) |
Prefetch into L2 data cache for storing. More... | |
void | odp_prefetch_store_l3 (const void *addr) |
Prefetch into L3 data cache for storing. More... | |
void | odp_prefetch_strm_l1 (const void *addr) |
Streaming prefetch into L1 data cache. More... | |
void | odp_prefetch_store_strm_l1 (const void *addr) |
Streaming prefetch into L1 data cache for storing. More... | |
void | odp_prefetch_l1i (const void *addr) |
Prefetch into L1 instruction cache. More... | |
ODP CPU API.
Definition in file api/spec/cpu.h.