Pol  Revision:cb584c9
Pol::Core::CPropProfiler::HitsCounter Class Reference

Public Member Functions

 HitsCounter ()
 
u64operator[] (size_t idx)
 
const u64operator[] (size_t idx) const
 
size_t sizeEstimate () const
 

Static Public Attributes

static const size_t ERASE = 2
 
static const size_t READ = 0
 
static const size_t WRITE = 1
 

Private Attributes

std::array< u64, 3 > hits
 0=read, 1=write, 2=erase More...
 

Detailed Description

Definition at line 91 of file proplist.h.

Constructor & Destructor Documentation

Pol::Core::CPropProfiler::HitsCounter::HitsCounter ( )

Definition at line 30 of file proplist.cpp.

Member Function Documentation

u64 & Pol::Core::CPropProfiler::HitsCounter::operator[] ( size_t  idx)

Definition at line 32 of file proplist.cpp.

References hits.

const u64 & Pol::Core::CPropProfiler::HitsCounter::operator[] ( size_t  idx) const

Definition at line 37 of file proplist.cpp.

References hits.

size_t Pol::Core::CPropProfiler::HitsCounter::sizeEstimate ( ) const

Definition at line 42 of file proplist.cpp.

References hits.

Member Data Documentation

const size_t Pol::Core::CPropProfiler::HitsCounter::ERASE = 2
static
std::array<u64, 3> Pol::Core::CPropProfiler::HitsCounter::hits
private

0=read, 1=write, 2=erase

Definition at line 105 of file proplist.h.

Referenced by operator[](), and sizeEstimate().

const size_t Pol::Core::CPropProfiler::HitsCounter::READ = 0
static
const size_t Pol::Core::CPropProfiler::HitsCounter::WRITE = 1
static

The documentation for this class was generated from the following files: