#include <MallocOpts.h>
Public Types | |
typedef MallocOpts::opt_type | opt_type |
Public Member Functions | |
MallocOptionSetter () | |
bool | retrieveFromCpuType () |
bool | retrieveFromEnv () |
void | adjustMallocParams () |
bool | hasErrors () const |
std::string | error_message () const |
void | set_mmap_max (opt_type mmap_max) |
void | set_trim_thr (opt_type trim_thr) |
void | set_top_pad (opt_type top_pad) |
void | set_mmap_thr (opt_type mmap_thr) |
MallocOpts | get () const |
Private Attributes | |
bool | changed_ |
MallocOpts | values_ |
std::string | error_message_ |
Definition at line 61 of file MallocOpts.h.
Definition at line 63 of file MallocOpts.h.
art::MallocOptionSetter::MallocOptionSetter | ( | ) |
Definition at line 134 of file MallocOpts.cc.
void art::MallocOptionSetter::adjustMallocParams | ( | ) |
Definition at line 146 of file MallocOpts.cc.
|
inline |
Definition at line 75 of file MallocOpts.h.
|
inline |
Definition at line 106 of file MallocOpts.h.
|
inline |
Definition at line 70 of file MallocOpts.h.
bool art::MallocOptionSetter::retrieveFromCpuType | ( | ) |
Definition at line 111 of file MallocOpts.cc.
bool art::MallocOptionSetter::retrieveFromEnv | ( | ) |
Definition at line 172 of file MallocOpts.cc.
|
inline |
Definition at line 81 of file MallocOpts.h.
|
inline |
Definition at line 99 of file MallocOpts.h.
|
inline |
Definition at line 93 of file MallocOpts.h.
|
inline |
Definition at line 87 of file MallocOpts.h.
|
private |
Definition at line 112 of file MallocOpts.h.
|
private |
Definition at line 115 of file MallocOpts.h.
|
private |
Definition at line 113 of file MallocOpts.h.