Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::AllocatorBulkDeallocationFlushThresholdSetting Struct Reference

Public Types

using RETURN_TYPE = string

Static Public Member Functions

static void SetGlobal (DatabaseInstance *db, DBConfig &config, const Value &parameter)
static void ResetGlobal (DatabaseInstance *db, DBConfig &config)
static Value GetSetting (const ClientContext &context)

Static Public Attributes

static constexpr const char * Name = "allocator_bulk_deallocation_flush_threshold"
static constexpr const char * Description
static constexpr const char * InputType = "VARCHAR"

Member Function Documentation

◆ SetGlobal()

void duckdb::AllocatorBulkDeallocationFlushThresholdSetting::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
301406 {
301407 config.options.allocator_bulk_deallocation_flush_threshold = DBConfig::ParseMemoryLimit(input.ToString());
301408 if (db) {
301409 BufferManager::GetBufferManager(*db).GetBufferPool().SetAllocatorBulkDeallocationFlushThreshold(
301411 }
301412}
idx_t allocator_bulk_deallocation_flush_threshold
If bulk deallocation larger than this occurs, flush outstanding allocations (1 << 30,...
Definition duckdb.hpp:40044
DBConfigOptions options
Database configuration options.
Definition duckdb.hpp:40090

◆ ResetGlobal()

void duckdb::AllocatorBulkDeallocationFlushThresholdSetting::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
301414 {
301416 DBConfigOptions().allocator_bulk_deallocation_flush_threshold;
301417 if (db) {
301418 BufferManager::GetBufferManager(*db).GetBufferPool().SetAllocatorBulkDeallocationFlushThreshold(
301420 }
301421}

◆ GetSetting()

Value duckdb::AllocatorBulkDeallocationFlushThresholdSetting::GetSetting ( const ClientContext & context)
static
301423 {
301424 auto &config = DBConfig::GetConfig(context);
301425 return Value(StringUtil::BytesToHumanReadableString(config.options.allocator_bulk_deallocation_flush_threshold));
301426}
static DUCKDB_API string BytesToHumanReadableString(idx_t bytes, idx_t multiplier=1024)
Return a string that formats the give number of bytes.
Definition duckdb.cpp:109517

Member Data Documentation

◆ Description

const char* duckdb::AllocatorBulkDeallocationFlushThresholdSetting::Description
staticconstexpr
Initial value:
=
"If a bulk deallocation larger than this occurs, flush outstanding allocations."

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