#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 53 of file MallocOpts.h.
Definition at line 55 of file MallocOpts.h.
edm::MallocOptionSetter::MallocOptionSetter | ( | ) |
Definition at line 132 of file MallocOpts.cc.
References adjustMallocParams(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, error_message_, hasErrors(), retrieveFromCpuType(), and retrieveFromEnv().
void edm::MallocOptionSetter::adjustMallocParams | ( | ) |
Definition at line 141 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 62 of file MallocOpts.h.
References error_message_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 81 of file MallocOpts.h.
References values_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.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 61 of file MallocOpts.h.
References error_message_.
Referenced by MallocOptionSetter(), and edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
bool edm::MallocOptionSetter::retrieveFromCpuType | ( | ) |
Definition at line 110 of file MallocOpts.cc.
References changed_, and values_.
Referenced by MallocOptionSetter().
bool edm::MallocOptionSetter::retrieveFromEnv | ( | ) |
Definition at line 167 of file MallocOpts.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::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 64 of file MallocOpts.h.
References changed_, edm::MallocOpts::mmap_max_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 76 of file MallocOpts.h.
References changed_, edm::MallocOpts::mmap_thr_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 72 of file MallocOpts.h.
References changed_, edm::MallocOpts::top_pad_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
inline |
Definition at line 68 of file MallocOpts.h.
References changed_, edm::MallocOpts::trim_thr_, and values_.
Referenced by edm::service::SimpleMemoryCheck::SimpleMemoryCheck().
|
private |
Definition at line 84 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 87 of file MallocOpts.h.
Referenced by adjustMallocParams(), error_message(), hasErrors(), and MallocOptionSetter().
|
private |
Definition at line 85 of file MallocOpts.h.
Referenced by adjustMallocParams(), get(), retrieveFromCpuType(), retrieveFromEnv(), set_mmap_max(), set_mmap_thr(), set_top_pad(), and set_trim_thr().