MCPcopy Create free account
hub / github.com/apache/arrow / bytes_allocated

Method bytes_allocated

cpp/src/arrow/memory_pool.cc:743–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741void LoggingMemoryPool::PrintStats() { pool_->PrintStats(); }
742
743int64_t LoggingMemoryPool::bytes_allocated() const {
744 int64_t nb_bytes = pool_->bytes_allocated();
745 std::cout << "bytes_allocated: " << nb_bytes << std::endl;
746 return nb_bytes;
747}
748
749int64_t LoggingMemoryPool::max_memory() const {
750 int64_t mem = pool_->max_memory();

Callers 15

test_bytes_allocatedMethod · 0.45
show_infoFunction · 0.45
test_scanner_memory_poolFunction · 0.45
test_scalar_udf_contextFunction · 0.45
test_input_lifetimeFunction · 0.45
check_allocated_bytesFunction · 0.45
test_set_memory_poolFunction · 0.45
bytes_allocatedMethod · 0.45
bytes_allocatedMethod · 0.45

Calls

no outgoing calls

Tested by 14

test_bytes_allocatedMethod · 0.36
test_scanner_memory_poolFunction · 0.36
test_scalar_udf_contextFunction · 0.36
test_input_lifetimeFunction · 0.36
check_allocated_bytesFunction · 0.36
test_set_memory_poolFunction · 0.36
TestMemoryTrackingMethod · 0.36
TestReallocateMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36