#include <MallocOpts.h>
Public Types | |
typedef MallocOpts::opt_type | opt_type |
Public Member Functions | |
void | adjustMallocParams () |
std::string | error_message () const |
MallocOpts | get () const |
bool | hasErrors () const |
MallocOptionSetter () | |
bool | retrieveFromCpuType () |
bool | retrieveFromEnv () |
void | set_mmap_max (opt_type mmap_max) |
void | set_mmap_thr (opt_type mmap_thr) |
void | set_top_pad (opt_type top_pad) |
void | set_trim_thr (opt_type trim_thr) |
Private Attributes | |
bool | changed_ |
std::string | error_message_ |
MallocOpts | values_ |
Definition at line 63 of file MallocOpts.h.
Definition at line 66 of file MallocOpts.h.
edm::MallocOptionSetter::MallocOptionSetter | ( | ) |
Definition at line 145 of file MallocOpts.cc.
References adjustMallocParams(), MessageLogger_cfi::cerr, error_message_, hasErrors(), retrieveFromCpuType(), and retrieveFromEnv().
void edm::MallocOptionSetter::adjustMallocParams | ( | ) |
Definition at line 159 of file MallocOpts.cc.
References changed_, error_message_, edm::MallocOpts::mmap_max_, edm::MallocOpts::mmap_thr_, edm::MallocOpts::top_pad_, edm::MallocOpts::trim_thr_, and values_.
Referenced by MallocOptionSetter(), and edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 73 of file MallocOpts.h.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 84 of file MallocOpts.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), edm::service::SimpleMemoryCheck::SimpleMemoryCheck(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 72 of file MallocOpts.h.
Referenced by MallocOptionSetter(), and edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
bool edm::MallocOptionSetter::retrieveFromCpuType | ( | ) |
Definition at line 119 of file MallocOpts.cc.
References changed_, and values_.
Referenced by MallocOptionSetter().
bool edm::MallocOptionSetter::retrieveFromEnv | ( | ) |
Definition at line 185 of file MallocOpts.cc.
References MessageLogger_cfi::cerr, changed_, gather_cfg::cout, edm::MallocOpts::mmap_max_, edm::MallocOpts::mmap_thr_, AlCaHLTBitMon_QueryRunRegistry::string, edm::MallocOpts::top_pad_, edm::MallocOpts::trim_thr_, and values_.
Referenced by MallocOptionSetter().
|
inline |
Definition at line 75 of file MallocOpts.h.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 81 of file MallocOpts.h.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 79 of file MallocOpts.h.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 77 of file MallocOpts.h.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
private |
Definition at line 87 of file MallocOpts.h.
Referenced by adjustMallocParams(), retrieveFromCpuType(), and retrieveFromEnv().
|
private |
Definition at line 90 of file MallocOpts.h.
Referenced by adjustMallocParams(), and MallocOptionSetter().
|
private |
Definition at line 88 of file MallocOpts.h.
Referenced by adjustMallocParams(), retrieveFromCpuType(), and retrieveFromEnv().