Set runtime behavior.
More...
|
enum | mi_option_t {
mi_option_show_stats,
mi_option_show_errors,
mi_option_verbose,
mi_option_secure,
mi_option_eager_commit,
mi_option_eager_region_commit,
mi_option_large_os_pages,
mi_option_page_reset,
mi_option_cache_reset,
mi_option_reset_decommits,
mi_option_reset_discards,
_mi_option_last
} |
| Runtime options. More...
|
|
Set runtime behavior.
◆ mi_option_t
Runtime options.
Enumerator |
---|
mi_option_show_stats | Print statistics to stderr when the program is done.
|
mi_option_show_errors | Print error messages to stderr .
|
mi_option_verbose | Print verbose messages to stderr .
|
mi_option_secure | Experimental.
|
mi_option_eager_commit | Eagerly commit segments (4MiB) (enabled by default).
|
mi_option_eager_region_commit | Eagerly commit large (256MiB) memory regions (enabled by default except on Windows)
|
mi_option_large_os_pages | Use large OS pages if possible.
|
mi_option_page_reset | Reset page memory when it becomes free.
|
mi_option_cache_reset | Reset segment memory when a segment is cached.
|
mi_option_reset_decommits | Experimental.
|
mi_option_reset_discards | Experimental.
|
_mi_option_last | |
◆ mi_option_enable()
void mi_option_enable |
( |
mi_option_t |
option, |
|
|
bool |
enable |
|
) |
| |
◆ mi_option_enable_default()
void mi_option_enable_default |
( |
mi_option_t |
option, |
|
|
bool |
enable |
|
) |
| |
◆ mi_option_enabled()
◆ mi_option_get()
◆ mi_option_set()
◆ mi_option_set_default()
void mi_option_set_default |
( |
mi_option_t |
option, |
|
|
long |
value |
|
) |
| |