/cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.31/CxxUtils/CxxUtils/prefetch.h File Reference

Functions to prefetch blocks of memory. More...

#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  CxxUtils
 

Copy the elements of a sequence for which a predicate is true.


Defines

#define CXXUTILS_PREFETCH_ADDRESS(ADDR)   do {} while(0)

Enumerations

enum  { CacheLineSize = 64 }

Functions

void CxxUtils::prefetchOne (const void *address)
 Generic prefetch method.
template<size_t N>
void CxxUtils::prefetchN (const void *ptr)
 Prefetch an N-byte block of memory.
template<typename T >
void CxxUtils::prefetchObj (const T *ptr)
 Generic prefetch of the object of specific types (sizes).
template<typename Iter >
void CxxUtils::prefetchNext (Iter iter, Iter endIter)
 Prefetch next object in sequence.
template<typename Iter >
void CxxUtils::prefetchTwo (Iter iter, Iter endIter)
 Prefetch two objects.

Detailed Description

Functions to prefetch blocks of memory.

Author:
scott snyder <snyder@bnl.gov>, after code from A. Salnikov
Date:
Dec, 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1