Logo ROOT  
Reference Guide
ROOT::Internal::VecOps::RVecInlineStorageSize< T > Struct Template Reference

template<typename T>
struct ROOT::Internal::VecOps::RVecInlineStorageSize< T >

The size of the inline storage of an RVec.

Our policy is to allocate at least 8 elements (or more if they all fit into one cacheline) unless the size of the buffer with 8 elements would be over a certain maximum size.

Definition at line 494 of file RVec.hxx.

Static Public Attributes

static constexpr unsigned value
 

Static Private Attributes

static constexpr std::size_t cacheLineSize = 64
 
static constexpr unsigned elementsPerCacheLine = (cacheLineSize - sizeof(SmallVectorBase)) / sizeof(T)
 
static constexpr unsigned maxInlineByteSize = 1024
 

#include <ROOT/RVec.hxx>

Member Data Documentation

◆ cacheLineSize

template<typename T >
constexpr std::size_t ROOT::Internal::VecOps::RVecInlineStorageSize< T >::cacheLineSize = 64
staticconstexprprivate

Definition at line 500 of file RVec.hxx.

◆ elementsPerCacheLine

template<typename T >
constexpr unsigned ROOT::Internal::VecOps::RVecInlineStorageSize< T >::elementsPerCacheLine = (cacheLineSize - sizeof(SmallVectorBase)) / sizeof(T)
staticconstexprprivate

Definition at line 502 of file RVec.hxx.

◆ maxInlineByteSize

template<typename T >
constexpr unsigned ROOT::Internal::VecOps::RVecInlineStorageSize< T >::maxInlineByteSize = 1024
staticconstexprprivate

Definition at line 503 of file RVec.hxx.

◆ value

template<typename T >
constexpr unsigned ROOT::Internal::VecOps::RVecInlineStorageSize< T >::value
staticconstexpr
Initial value:
=
double T(double x)
Definition: ChebyshevPol.h:34
static constexpr unsigned maxInlineByteSize
Definition: RVec.hxx:503
static constexpr unsigned elementsPerCacheLine
Definition: RVec.hxx:502

Definition at line 506 of file RVec.hxx.

Collaboration diagram for ROOT::Internal::VecOps::RVecInlineStorageSize< T >:
[legend]

The documentation for this struct was generated from the following file: