Public Types | Public Member Functions | Public Attributes | List of all members
art::MallocOpts Struct Reference

#include <MallocOpts.h>

Public Types

typedef int opt_type
 

Public Member Functions

 MallocOpts ()
 
 MallocOpts (opt_type max, opt_type trim, opt_type pad, opt_type mmap_thr)
 
bool operator== (const MallocOpts &opts) const
 
bool operator!= (const MallocOpts &opts) const
 

Public Attributes

opt_type mmap_max_
 
opt_type trim_thr_
 
opt_type top_pad_
 
opt_type mmap_thr_
 

Detailed Description

Definition at line 33 of file MallocOpts.h.

Member Typedef Documentation

Definition at line 34 of file MallocOpts.h.

Constructor & Destructor Documentation

art::MallocOpts::MallocOpts ( )
inline

Definition at line 36 of file MallocOpts.h.

36 : mmap_max_(), trim_thr_(), top_pad_(), mmap_thr_() {}
opt_type mmap_max_
Definition: MallocOpts.h:41
opt_type top_pad_
Definition: MallocOpts.h:43
opt_type mmap_thr_
Definition: MallocOpts.h:44
opt_type trim_thr_
Definition: MallocOpts.h:42
art::MallocOpts::MallocOpts ( opt_type  max,
opt_type  trim,
opt_type  pad,
opt_type  mmap_thr 
)
inline

Definition at line 37 of file MallocOpts.h.

38  : mmap_max_(max), trim_thr_(trim), top_pad_(pad), mmap_thr_(mmap_thr)
39  {}
static std::string trim(const std::string &str, const std::string &whitespace=" \t")
Definition: doxyindexer.cpp:47
opt_type mmap_max_
Definition: MallocOpts.h:41
opt_type top_pad_
Definition: MallocOpts.h:43
opt_type mmap_thr_
Definition: MallocOpts.h:44
opt_type trim_thr_
Definition: MallocOpts.h:42
static int max(int a, int b)

Member Function Documentation

bool art::MallocOpts::operator!= ( const MallocOpts opts) const
inline

Definition at line 53 of file MallocOpts.h.

54  {
55  return !operator==(opts);
56  }
opts
Definition: ECLAPI.py:241
bool operator==(const MallocOpts &opts) const
Definition: MallocOpts.h:47
bool art::MallocOpts::operator== ( const MallocOpts opts) const
inline

Definition at line 47 of file MallocOpts.h.

48  {
49  return mmap_max_ == opts.mmap_max_ && trim_thr_ == opts.trim_thr_ &&
50  top_pad_ == opts.top_pad_ && mmap_thr_ == opts.mmap_thr_;
51  }
opt_type mmap_max_
Definition: MallocOpts.h:41
opt_type top_pad_
Definition: MallocOpts.h:43
opt_type mmap_thr_
Definition: MallocOpts.h:44
opt_type trim_thr_
Definition: MallocOpts.h:42
opts
Definition: ECLAPI.py:241

Member Data Documentation

opt_type art::MallocOpts::mmap_max_

Definition at line 41 of file MallocOpts.h.

opt_type art::MallocOpts::mmap_thr_

Definition at line 44 of file MallocOpts.h.

opt_type art::MallocOpts::top_pad_

Definition at line 43 of file MallocOpts.h.

opt_type art::MallocOpts::trim_thr_

Definition at line 42 of file MallocOpts.h.


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