Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::MemPool::ChunkInfo Struct Reference
Collaboration diagram for impala::MemPool::ChunkInfo:

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...
 

Detailed Description

Definition at line 183 of file mem-pool.h.

Constructor & Destructor Documentation

MemPool::ChunkInfo::ChunkInfo ( int  size)
explicit

Definition at line 48 of file mem-pool.cc.

References impala::ImpaladMetrics::MEM_POOL_TOTAL_BYTES.

impala::MemPool::ChunkInfo::ChunkInfo ( )
inline

Definition at line 198 of file mem-pool.h.

Member Data Documentation

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().

bool impala::MemPool::ChunkInfo::owns_data
int impala::MemPool::ChunkInfo::size

Definition at line 186 of file mem-pool.h.

Referenced by impala::MemPool::Allocate().


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