#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 64 of file MallocOpts.h.
Definition at line 67 of file MallocOpts.h.
edm::MallocOptionSetter::MallocOptionSetter | ( | ) |
Definition at line 145 of file MallocOpts.cc.
References adjustMallocParams(), dtNoiseDBValidation_cfg::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 74 of file MallocOpts.h.
References error_message_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 85 of file MallocOpts.h.
References values_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 73 of file MallocOpts.h.
References error_message_.
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 183 of file MallocOpts.cc.
References dtNoiseDBValidation_cfg::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 76 of file MallocOpts.h.
References changed_, edm::MallocOpts::mmap_max_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 82 of file MallocOpts.h.
References changed_, edm::MallocOpts::mmap_thr_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 80 of file MallocOpts.h.
References changed_, edm::MallocOpts::top_pad_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 78 of file MallocOpts.h.
References changed_, edm::MallocOpts::trim_thr_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
private |
Definition at line 88 of file MallocOpts.h.
Referenced by adjustMallocParams(), retrieveFromCpuType(), retrieveFromEnv(), set_mmap_max(), set_mmap_thr(), set_top_pad(), and set_trim_thr().
|
private |
Definition at line 91 of file MallocOpts.h.
Referenced by adjustMallocParams(), error_message(), hasErrors(), and MallocOptionSetter().
|
private |
Definition at line 89 of file MallocOpts.h.
Referenced by adjustMallocParams(), get(), retrieveFromCpuType(), retrieveFromEnv(), set_mmap_max(), set_mmap_thr(), set_top_pad(), and set_trim_thr().