|
CNDP 22.08.0
|
#include <cne_common.h>Go to the source code of this file.
Functions | |
| static void | cne_prefetch0 (const volatile void *p) |
| static void | cne_prefetch1 (const volatile void *p) |
| static void | cne_prefetch2 (const volatile void *p) |
| static void | cne_prefetch_non_temporal (const volatile void *p) |
| static void | cne_prefetch0_write (const void *p) |
| static void | cne_prefetch1_write (const void *p) |
| static void | cne_prefetch2_write (const void *p) |
Set of cacheline control APIs
Definition in file cne_prefetch.h.
|
inlinestatic |
Prefetch a single cacheline at the given address into all caches levels
| p | Pointer to cacheline to prefetch |
Definition at line 27 of file cne_prefetch.h.
|
inlinestatic |
Prefetch the cacheline at the given address into all caches except L1
| p | Pointer to cacheline to prefetch |
Definition at line 39 of file cne_prefetch.h.
|
inlinestatic |
Prefetch the cacheline at the given address into all caches except L1 and L2
| p | Pointer to cacheline to prefetch |
Definition at line 51 of file cne_prefetch.h.
|
inlinestatic |
Prefetch the cacheline at the given address into non-temporal cache structure, minimizing cache pollution.
| p | Pointer to cacheline to prefetch |
Definition at line 64 of file cne_prefetch.h.
|
inlinestatic |
Prefetch a cache line into all cache levels, with intention to write. This prefetch variant hints to the CPU that the program is expecting to write to the cache line being prefetched.
| p | Address to prefetch |
Definition at line 77 of file cne_prefetch.h.
|
inlinestatic |
Prefetch a cache line into all cache levels, except the 0th, with intention to write. This prefetch variant hints to the CPU that the program is expecting to write to the cache line being prefetched.
| p | Address to prefetch |
Definition at line 94 of file cne_prefetch.h.
|
inlinestatic |
Prefetch a cache line into all cache levels, except the 0th and 1st, with intention to write. This prefetch variant hints to the CPU that the program is expecting to write to the cache line being prefetched.
| p | Address to prefetch |
Definition at line 111 of file cne_prefetch.h.