ARB
Public Member Functions | List of all members
PartitionSpec Class Reference

Public Member Functions

 PartitionSpec ()
 
 PartitionSpec (int passes_, size_t memuse_, int depth_)
 
bool willUseMoreThan (size_t max_kb_usable) const
 
bool isBetterThan (const PartitionSpec &other, size_t max_kb_usable) const
 
void print_info (FILE *out, size_t max_kb_usable) const
 
Partition partition () const
 

Detailed Description

Definition at line 270 of file PT_buildtree.cxx.

Constructor & Destructor Documentation

PartitionSpec::PartitionSpec ( )
inline

Definition at line 288 of file PT_buildtree.cxx.

PartitionSpec::PartitionSpec ( int  passes_,
size_t  memuse_,
int  depth_ 
)
inline

Definition at line 289 of file PT_buildtree.cxx.

Member Function Documentation

bool PartitionSpec::willUseMoreThan ( size_t  max_kb_usable) const
inline

Definition at line 291 of file PT_buildtree.cxx.

Referenced by decide_passes_to_use(), and isBetterThan().

bool PartitionSpec::isBetterThan ( const PartitionSpec other,
size_t  max_kb_usable 
) const
inline

Definition at line 292 of file PT_buildtree.cxx.

References cmp, and willUseMoreThan().

Referenced by decide_passes_to_use().

void PartitionSpec::print_info ( FILE *  out,
size_t  max_kb_usable 
) const
inline

Definition at line 323 of file PT_buildtree.cxx.

References GBS_readable_size().

Referenced by decide_passes_to_use().

Partition PartitionSpec::partition ( ) const
inline

Definition at line 332 of file PT_buildtree.cxx.

Referenced by decide_passes_to_use().


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