Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
proteus::ObjectCache Class Referenceabstract

#include <ObjectCache.hpp>

Inheritance diagram for proteus::ObjectCache:
Inheritance graph
[legend]

Public Member Functions

virtual ~ObjectCache ()=default
 
virtual std::string getName () const =0
 
virtual std::unique_ptr< CompiledLibrarylookup (const HashT &HashValue)=0
 
virtual void store (const HashT &HashValue, const CacheEntry &Entry)=0
 
virtual void printStats ()=0
 
virtual uint64_t getHits () const =0
 
virtual uint64_t getAccesses () const =0
 

Protected Member Functions

 ObjectCache ()=default
 

Constructor & Destructor Documentation

◆ ~ObjectCache()

virtual proteus::ObjectCache::~ObjectCache ( )
virtualdefault

◆ ObjectCache()

proteus::ObjectCache::ObjectCache ( )
protecteddefault

Member Function Documentation

◆ getAccesses()

virtual uint64_t proteus::ObjectCache::getAccesses ( ) const
pure virtual

Implemented in proteus::StorageCache.

◆ getHits()

virtual uint64_t proteus::ObjectCache::getHits ( ) const
pure virtual

Implemented in proteus::StorageCache.

◆ getName()

virtual std::string proteus::ObjectCache::getName ( ) const
pure virtual

Implemented in proteus::StorageCache.

◆ lookup()

virtual std::unique_ptr< CompiledLibrary > proteus::ObjectCache::lookup ( const HashT HashValue)
pure virtual

Implemented in proteus::StorageCache.

◆ printStats()

virtual void proteus::ObjectCache::printStats ( )
pure virtual

Implemented in proteus::StorageCache.

◆ store()

virtual void proteus::ObjectCache::store ( const HashT HashValue,
const CacheEntry Entry 
)
pure virtual

Implemented in proteus::StorageCache.


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