VeloGraphX
High-performance dynamic graph analytics in C++20
Loading...
Searching...
No Matches
velographx::MemoryBudget Class Reference

#include <memory_budget.hpp>

Public Member Functions

 MemoryBudget (std::size_t bytes)
 
std::size_t bytes () const noexcept
 
std::size_t resident_limit (std::size_t graph_bytes, std::size_t algorithm_state_bytes) const noexcept
 

Detailed Description

Definition at line 6 of file memory_budget.hpp.

Constructor & Destructor Documentation

◆ MemoryBudget()

velographx::MemoryBudget::MemoryBudget ( std::size_t  bytes)
inlineexplicit

Definition at line 8 of file memory_budget.hpp.

Member Function Documentation

◆ bytes()

std::size_t velographx::MemoryBudget::bytes ( ) const
inlinenoexcept

Definition at line 9 of file memory_budget.hpp.

◆ resident_limit()

std::size_t velographx::MemoryBudget::resident_limit ( std::size_t  graph_bytes,
std::size_t  algorithm_state_bytes 
) const
inlinenoexcept

Definition at line 10 of file memory_budget.hpp.


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