Go to the source code of this file.
Set of cacheline control APIs
Definition in file cne_prefetch.h.
◆ cne_prefetch0()
static void cne_prefetch0 |
( |
const volatile void * |
p | ) |
|
|
inlinestatic |
Prefetch a single cacheline at the given address into all caches levels
- Parameters
-
p | Pointer to cacheline to prefetch |
Definition at line 27 of file cne_prefetch.h.
◆ cne_prefetch1()
static void cne_prefetch1 |
( |
const volatile void * |
p | ) |
|
|
inlinestatic |
Prefetch the cacheline at the given address into all caches except L1
- Parameters
-
p | Pointer to cacheline to prefetch |
Definition at line 39 of file cne_prefetch.h.
◆ cne_prefetch2()
static void cne_prefetch2 |
( |
const volatile void * |
p | ) |
|
|
inlinestatic |
Prefetch the cacheline at the given address into all caches except L1 and L2
- Parameters
-
p | Pointer to cacheline to prefetch |
Definition at line 51 of file cne_prefetch.h.
◆ cne_prefetch_non_temporal()
static void cne_prefetch_non_temporal |
( |
const volatile void * |
p | ) |
|
|
inlinestatic |
Prefetch the cacheline at the given address into non-temporal cache structure, minimizing cache pollution.
- Parameters
-
p | Pointer to cacheline to prefetch |
Definition at line 64 of file cne_prefetch.h.
◆ cne_prefetch0_write()
static void cne_prefetch0_write |
( |
const void * |
p | ) |
|
|
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.
- Parameters
-
Definition at line 77 of file cne_prefetch.h.
◆ cne_prefetch1_write()
static void cne_prefetch1_write |
( |
const void * |
p | ) |
|
|
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.
- Parameters
-
Definition at line 94 of file cne_prefetch.h.
◆ cne_prefetch2_write()
static void cne_prefetch2_write |
( |
const void * |
p | ) |
|
|
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.
- Parameters
-
Definition at line 111 of file cne_prefetch.h.