Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
backing_memory.hpp File Reference
#include "barretenberg/common/slab_allocator.hpp"
#include "barretenberg/common/throw_or_abort.hpp"
#include "unistd.h"
#include <atomic>
#include <cstring>
#include <fcntl.h>
#include <filesystem>
#include <memory>
#include <sys/mman.h>

Go to the source code of this file.

Classes

struct  BackingMemory< Fr >
 
struct  BackingMemory< Fr >::FileBackedData
 

Functions

size_t parse_size_string (const std::string &size_str)
 

Variables

bool slow_low_memory
 
size_t storage_budget
 
std::atomic< size_t > current_storage_usage
 

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
extern

Definition at line 76 of file backing_memory.cpp.

◆ slow_low_memory

bool slow_low_memory
extern

Definition at line 10 of file backing_memory.cpp.

◆ storage_budget

size_t storage_budget
extern

Definition at line 73 of file backing_memory.cpp.