1 #ifndef art_Utilities_MallocOpts_h 2 #define art_Utilities_MallocOpts_h 39 MallocOpts(opt_type
max, opt_type trim, opt_type pad, opt_type mmap_thr)
68 bool retrieveFromCpuType();
69 bool retrieveFromEnv();
70 void adjustMallocParams();
74 return !error_message_.empty();
79 return error_message_;
85 values_.mmap_max_ = mmap_max;
91 values_.trim_thr_ = trim_thr;
97 values_.top_pad_ = top_pad;
103 values_.mmap_thr_ = mmap_thr;
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
MallocOpts::opt_type opt_type
void set_trim_thr(opt_type trim_thr)
MallocOpts(opt_type max, opt_type trim, opt_type pad, opt_type mmap_thr)
bool operator!=(const MallocOpts &opts) const
std::string error_message_
void set_mmap_thr(opt_type mmap_thr)
void set_mmap_max(opt_type mmap_max)
MallocOptionSetter & getGlobalOptionSetter()
std::string error_message() const
void set_top_pad(opt_type top_pad)
bool operator==(const MallocOpts &opts) const