Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
caches.h File Reference
#include <kernel/caches.h>
#include <util/byte_units.h>
#include <cstddef>
Include dependency graph for caches.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  node::IndexCacheSizes
struct  node::CacheSizes

Namespaces

namespace  node

Functions

size_t node::GetDefaultDBCache ()
CacheSizes node::CalculateCacheSizes (const ArgsManager &args, size_t n_indexes)
constexpr bool node::ShouldWarnOversizedDbCache (size_t dbcache, size_t total_ram) noexcept
void node::LogOversizedDbCache (const ArgsManager &args) noexcept

Variables

static constexpr size_t MIN_DB_CACHE {4_MiB}
 min. -dbcache (bytes)
static constexpr size_t DEFAULT_DB_CACHE {DEFAULT_KERNEL_CACHE}
 -dbcache default (bytes)

Variable Documentation

◆ DEFAULT_DB_CACHE

size_t DEFAULT_DB_CACHE {DEFAULT_KERNEL_CACHE}
staticconstexpr

-dbcache default (bytes)

Definition at line 18 of file caches.h.

◆ MIN_DB_CACHE

size_t MIN_DB_CACHE {4_MiB}
staticconstexpr

min. -dbcache (bytes)

Definition at line 16 of file caches.h.