Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
ChunkInfo (int size) | |
ChunkInfo () | |
Public Attributes | |
bool | owns_data |
uint8_t * | data |
int | size |
int | cumulative_allocated_bytes |
int | allocated_bytes |
bytes allocated via Allocate() in this chunk More... | |
Definition at line 183 of file mem-pool.h.
|
explicit |
Definition at line 48 of file mem-pool.cc.
References impala::ImpaladMetrics::MEM_POOL_TOTAL_BYTES.
|
inline |
Definition at line 198 of file mem-pool.h.
int impala::MemPool::ChunkInfo::allocated_bytes |
bytes allocated via Allocate() in this chunk
Definition at line 194 of file mem-pool.h.
Referenced by impala::MemPool::Allocate(), impala::MemPool::Contains(), impala::MemPool::DebugPrint(), impala::MemPool::FindChunk(), impala::MemPool::GetDataPtr(), impala::MemPool::GetDataPtrHelper(), impala::MemPool::GetOffset(), impala::MemPool::GetOffsetHelper(), and impala::MemPool::ReturnPartialAllocation().
int impala::MemPool::ChunkInfo::cumulative_allocated_bytes |
number of bytes allocated via Allocate() up to but excluding this chunk; not valid for chunks > current_chunk_idx_ (because that would create too much maintenance work if we have trailing unoccupied chunks)
Definition at line 191 of file mem-pool.h.
Referenced by impala::MemPool::FindChunk(), impala::MemPool::GetDataPtr(), impala::MemPool::GetDataPtrHelper(), impala::MemPool::GetOffset(), and impala::MemPool::GetOffsetHelper().
uint8_t* impala::MemPool::ChunkInfo::data |
Definition at line 185 of file mem-pool.h.
Referenced by impala::MemPool::Allocate(), impala::MemPool::Contains(), impala::MemPool::DebugPrint(), impala::MemPool::GetDataPtr(), impala::MemPool::GetDataPtrHelper(), impala::MemPool::GetOffset(), and impala::MemPool::GetOffsetHelper().
bool impala::MemPool::ChunkInfo::owns_data |
Definition at line 184 of file mem-pool.h.
Referenced by impala::MemPool::Allocate(), and impala::MemPool::ReturnPartialAllocation().
int impala::MemPool::ChunkInfo::size |
Definition at line 186 of file mem-pool.h.
Referenced by impala::MemPool::Allocate().