OmniSciDB
c1a53651b2
|
Functions | |
void | check_total_bitmap_memory (const QueryMemoryDescriptor &query_mem_desc) |
int64_t * | alloc_group_by_buffer (const size_t numBytes, RenderAllocatorMap *render_allocator_map, const size_t thread_idx, RowSetMemoryOwner *mem_owner) |
int64_t | get_consistent_frag_size (const std::vector< uint64_t > &frag_offsets) |
std::vector< int64_t > | get_consistent_frags_sizes (const std::vector< std::vector< uint64_t >> &frag_offsets) |
std::vector< int64_t > | get_consistent_frags_sizes (const std::vector< Analyzer::Expr * > &target_exprs, const std::vector< int64_t > &table_frag_sizes) |
std::vector< std::vector < int64_t > > | get_col_frag_offsets (const std::vector< Analyzer::Expr * > &target_exprs, const std::vector< std::vector< uint64_t >> &table_frag_offsets) |
int | get_input_idx (RelAlgExecutionUnit const &ra_exe_unit, const shared::TableKey &outer_table_key) |
template<typename T > | |
int8_t * | initColumnarBuffer (T *buffer_ptr, const T init_val, const uint32_t entry_count) |
void | eachAggregateTargetIdxOfType (std::vector< Analyzer::Expr * > const &target_exprs, SQLAgg const agg_type, std::function< void(Analyzer::AggExpr const *, size_t)> lambda) |
void | compact_projection_buffer_for_cpu_columnar (const QueryMemoryDescriptor &query_mem_desc, int8_t *projection_buffer, const size_t projection_count) |
int64_t* anonymous_namespace{QueryMemoryInitializer.cpp}::alloc_group_by_buffer | ( | const size_t | numBytes, |
RenderAllocatorMap * | render_allocator_map, | ||
const size_t | thread_idx, | ||
RowSetMemoryOwner * | mem_owner | ||
) |
Definition at line 59 of file QueryMemoryInitializer.cpp.
References RowSetMemoryOwner::allocate(), and RenderAllocatorMap::getRenderAllocator().
Referenced by QueryMemoryInitializer::QueryMemoryInitializer(), and thread_idx_().
|
inline |
Definition at line 32 of file QueryMemoryInitializer.cpp.
References Bitmap, CountDistinctDescriptor::bitmapPaddedSizeBytes(), g_bitmap_memory_limit, QueryMemoryDescriptor::getCountDistinctDescriptor(), QueryMemoryDescriptor::getCountDistinctDescriptorsSize(), and QueryMemoryDescriptor::getEntryCount().
Referenced by QueryMemoryInitializer::QueryMemoryInitializer().
void anonymous_namespace{QueryMemoryInitializer.cpp}::compact_projection_buffer_for_cpu_columnar | ( | const QueryMemoryDescriptor & | query_mem_desc, |
int8_t * | projection_buffer, | ||
const size_t | projection_count | ||
) |
Definition at line 1093 of file QueryMemoryInitializer.cpp.
References align_to_int64(), CHECK, QueryMemoryDescriptor::getColOffInBytes(), QueryMemoryDescriptor::getEntryCount(), QueryMemoryDescriptor::getPaddedSlotWidthBytes(), and QueryMemoryDescriptor::getSlotCount().
Referenced by QueryMemoryInitializer::compactProjectionBuffersCpu().
void anonymous_namespace{QueryMemoryInitializer.cpp}::eachAggregateTargetIdxOfType | ( | std::vector< Analyzer::Expr * > const & | target_exprs, |
SQLAgg const | agg_type, | ||
std::function< void(Analyzer::AggExpr const *, size_t)> | lambda | ||
) |
Definition at line 761 of file QueryMemoryInitializer.cpp.
Referenced by QueryMemoryInitializer::allocateModes(), and QueryMemoryInitializer::allocateTDigests().
|
inline |
Definition at line 125 of file QueryMemoryInitializer.cpp.
References CHECK_EQ, and CHECK_LT.
Referenced by QueryMemoryInitializer::QueryMemoryInitializer(), and thread_idx_().
|
inline |
Definition at line 75 of file QueryMemoryInitializer.cpp.
Referenced by get_consistent_frags_sizes().
|
inline |
Definition at line 90 of file QueryMemoryInitializer.cpp.
References get_consistent_frag_size().
Referenced by QueryMemoryInitializer::QueryMemoryInitializer(), and thread_idx_().
|
inline |
int anonymous_namespace{QueryMemoryInitializer.cpp}::get_input_idx | ( | RelAlgExecutionUnit const & | ra_exe_unit, |
const shared::TableKey & | outer_table_key | ||
) |
Definition at line 152 of file QueryMemoryInitializer.cpp.
References RelAlgExecutionUnit::input_descs.
Referenced by QueryPlanDagExtractor::handleLeftDeepJoinTree(), and QueryMemoryInitializer::QueryMemoryInitializer().
int8_t* anonymous_namespace{QueryMemoryInitializer.cpp}::initColumnarBuffer | ( | T * | buffer_ptr, |
const T | init_val, | ||
const uint32_t | entry_count | ||
) |