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::MPIRemoteLookupCache Class Reference

#include <MPIRemoteLookupCache.h>

Inheritance diagram for proteus::MPIRemoteLookupCache:
Inheritance graph
[legend]
Collaboration diagram for proteus::MPIRemoteLookupCache:
Collaboration graph
[legend]

Public Member Functions

 MPIRemoteLookupCache (const std::string &Label)
 
std::string getName () const override
 
std::unique_ptr< CompiledLibrarylookup (const HashT &HashValue) override
 
- Public Member Functions inherited from proteus::MPIStorageCache
 MPIStorageCache (const std::string &Label)
 
 ~MPIStorageCache () override
 
void store (const HashT &HashValue, const CacheEntry &Entry) override
 
void finalize () override
 
void printStats () override
 
uint64_t getHits () const override
 
uint64_t getAccesses () const override
 
- Public Member Functions inherited from proteus::ObjectCache
virtual ~ObjectCache ()=default
 

Protected Member Functions

void handleMessage (MPI_Status &Status, MPITag Tag) override
 
- Protected Member Functions inherited from proteus::MPIStorageCache
void startCommThread ()
 
std::unique_ptr< CompiledLibrarylookupFromDisk (const HashT &HashValue)
 
void forwardToWriter (const HashT &HashValue, const CacheEntry &Entry)
 
void saveToDisk (const HashT &HashValue, const char *Data, size_t Size, bool IsDynLib)
 
- Protected Member Functions inherited from proteus::ObjectCache
 ObjectCache ()=default
 

Additional Inherited Members

- Protected Attributes inherited from proteus::MPIStorageCache
uint64_t Hits = 0
 
uint64_t Accesses = 0
 
const std::string StorageDirectory
 
const std::string Label
 
MPICommHandle CommHandle
 
CommThreadHandle CommThread
 

Constructor & Destructor Documentation

◆ MPIRemoteLookupCache()

proteus::MPIRemoteLookupCache::MPIRemoteLookupCache ( const std::string &  Label)

Member Function Documentation

◆ getName()

std::string proteus::MPIRemoteLookupCache::getName ( ) const
inlineoverridevirtual

Implements proteus::ObjectCache.

◆ handleMessage()

void proteus::MPIRemoteLookupCache::handleMessage ( MPI_Status &  Status,
MPITag  Tag 
)
overrideprotectedvirtual

Reimplemented from proteus::MPIStorageCache.

◆ lookup()

std::unique_ptr< CompiledLibrary > proteus::MPIRemoteLookupCache::lookup ( const HashT HashValue)
overridevirtual

Implements proteus::ObjectCache.


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