Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
backing_memory.cpp File Reference
#include "barretenberg/polynomials/backing_memory.hpp"
#include "barretenberg/common/throw_or_abort.hpp"
#include <atomic>
#include <cctype>
#include <cstdlib>
#include <limits>
#include <string>

Go to the source code of this file.

Functions

size_t parse_size_string (const std::string &size_str)
 

Variables

bool slow_low_memory
 
size_t storage_budget = parse_storage_budget()
 
std::atomic< size_t > current_storage_usage { 0 }
 

Function Documentation

◆ parse_size_string()

size_t parse_size_string ( const std::string &  size_str)

Definition at line 17 of file backing_memory.cpp.

Variable Documentation

◆ current_storage_usage

std::atomic<size_t> current_storage_usage { 0 }

Definition at line 76 of file backing_memory.cpp.

◆ slow_low_memory

bool slow_low_memory
Initial value:
=
std::getenv("BB_SLOW_LOW_MEMORY") == nullptr ? false : std::string(std::getenv("BB_SLOW_LOW_MEMORY")) == "1"
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13

Definition at line 10 of file backing_memory.cpp.

◆ storage_budget

size_t storage_budget = parse_storage_budget()

Definition at line 73 of file backing_memory.cpp.