souffle  2.0.2-371-g6315b36
Public Member Functions
souffle::CacheAccessCounter Class Reference

cache hits/misses. More...

#include <CacheUtil.h>

Collaboration diagram for souffle::CacheAccessCounter:
Collaboration graph

Public Member Functions

void addHit ()
 
void addMiss ()
 
 CacheAccessCounter ()=default
 
 CacheAccessCounter (const CacheAccessCounter &)=default
 
std::size_t getAccesses ()
 
std::size_t getHits ()
 
std::size_t getMisses ()
 
void reset ()
 

Detailed Description

cache hits/misses.

Definition at line 278 of file CacheUtil.h.

Constructor & Destructor Documentation

◆ CacheAccessCounter() [1/2]

souffle::CacheAccessCounter::CacheAccessCounter ( )
default

◆ CacheAccessCounter() [2/2]

souffle::CacheAccessCounter::CacheAccessCounter ( const CacheAccessCounter )
default

Member Function Documentation

◆ addHit()

void souffle::CacheAccessCounter::addHit ( )
inline

◆ addMiss()

void souffle::CacheAccessCounter::addMiss ( )
inline

Definition at line 283 of file CacheUtil.h.

◆ getAccesses()

std::size_t souffle::CacheAccessCounter::getAccesses ( )
inline

Definition at line 290 of file CacheUtil.h.

◆ getHits()

std::size_t souffle::CacheAccessCounter::getHits ( )
inline

Definition at line 284 of file CacheUtil.h.

284  {
285  return 0;
286  }

◆ getMisses()

std::size_t souffle::CacheAccessCounter::getMisses ( )
inline

Definition at line 287 of file CacheUtil.h.

287  {}
288 };
289 

◆ reset()

void souffle::CacheAccessCounter::reset ( )
inline

Definition at line 293 of file CacheUtil.h.


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