![]() |
ATLAS Offline Software
|
Functions to prefetch blocks of memory. More...
#include <cstdlib>
Go to the source code of this file.
Namespaces | |
CxxUtils | |
Macros | |
#define | CXXUTILS_PREFETCH_ADDRESS(ADDR) do {} while(0) |
Enumerations | |
enum | { CxxUtils::CacheLineSize = 64 } |
While it is possible to determine cache line size at run time (e.g. More... | |
Functions | |
void | CxxUtils::prefetchOne (const void *address) |
Generic prefetch method. More... | |
template<size_t N> | |
void | CxxUtils::prefetchN (const void *ptr) |
Prefetch an N-byte block of memory. More... | |
template<typename T > | |
void | CxxUtils::prefetchObj (const T *ptr) |
Generic prefetch of the object of specific types (sizes). More... | |
template<typename Iter > | |
void | CxxUtils::prefetchNext (Iter iter, Iter endIter) |
Prefetch next object in sequence. More... | |
template<typename Iter > | |
void | CxxUtils::prefetchTwo (Iter iter, Iter endIter) |
Prefetch two objects. More... | |
#define CXXUTILS_PREFETCH_ADDRESS | ( | ADDR | ) | do {} while(0) |
Definition at line 33 of file prefetch.h.