1 #ifndef art_Utilities_MallocOpts_h 2 #define art_Utilities_MallocOpts_h 66 bool retrieveFromCpuType();
67 bool retrieveFromEnv();
68 void adjustMallocParams();
72 return !error_message_.empty();
77 return error_message_;
83 values_.mmap_max_ = mmap_max;
89 values_.trim_thr_ = trim_thr;
95 values_.top_pad_ = top_pad;
101 values_.mmap_thr_ = mmap_thr;
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 noexcept
std::string error_message_
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
void set_mmap_thr(opt_type mmap_thr)
void set_mmap_max(opt_type mmap_max)
MallocOpts::opt_type opt_type
std::string error_message() const
void set_top_pad(opt_type top_pad)
bool operator!=(const MallocOpts &opts) const noexcept