|
VeloGraphX
High-performance dynamic graph analytics in C++20
|
#include <partition_cache.hpp>
Public Member Functions | |
| PartitionCache (MemoryBudget budget, std::size_t algorithm_state_bytes=0) | |
| PartitionCache (std::size_t capacity_bytes) | |
| std::size_t | capacity_bytes () const noexcept |
| std::size_t | resident_bytes () const noexcept |
| std::size_t | size () const noexcept |
| const PartitionCacheStats & | stats () const noexcept |
| void | clear () |
| bool | contains (PartitionId id) const noexcept |
| const Payload * | get (PartitionId id) |
| void | put (PartitionId id, Payload payload, std::size_t bytes) |
| bool | erase (PartitionId id) |
Definition at line 26 of file partition_cache.hpp.
|
inlineexplicit |
Definition at line 28 of file partition_cache.hpp.
|
inlineexplicit |
Definition at line 31 of file partition_cache.hpp.
|
inlinenoexcept |
Definition at line 33 of file partition_cache.hpp.
|
inline |
Definition at line 38 of file partition_cache.hpp.
References velographx::PartitionCacheStats::resident_bytes.
|
inlinenoexcept |
Definition at line 44 of file partition_cache.hpp.
|
inline |
Definition at line 80 of file partition_cache.hpp.
References velographx::PartitionCacheStats::resident_bytes.
|
inline |
Definition at line 48 of file partition_cache.hpp.
References velographx::PartitionCacheStats::hits, and velographx::PartitionCacheStats::misses.
Referenced by velographx::AsyncPartitionLoader::load(), and velographx::AsyncPartitionLoader::prefetch().
|
inline |
Definition at line 59 of file partition_cache.hpp.
References velographx::PartitionCacheStats::resident_bytes.
Referenced by velographx::AsyncPartitionLoader::load(), and velographx::AsyncPartitionLoader::prefetch().
|
inlinenoexcept |
Definition at line 34 of file partition_cache.hpp.
References velographx::PartitionCacheStats::resident_bytes.
Referenced by velographx::AsyncPartitionLoader::resident_bytes().
|
inlinenoexcept |
Definition at line 35 of file partition_cache.hpp.
|
inlinenoexcept |
Definition at line 36 of file partition_cache.hpp.
Referenced by velographx::AsyncPartitionLoader::stats().