testing trace_disable_destroy only is thus enough
return trace_disable_power && trace_enabled;
}
return trace_disable_power && trace_enabled;
}
-bool TRACE_disable_destroy ()
-{
- return trace_disable_destroy && trace_enabled;
-}
-
bool TRACE_basic ()
{
return trace_basic && trace_enabled;
bool TRACE_basic ()
{
return trace_basic && trace_enabled;
TRACE_paje_dump_buffer(true);
// trace my destruction, but not if user requests so or if the container is root
TRACE_paje_dump_buffer(true);
// trace my destruction, but not if user requests so or if the container is root
- if (not TRACE_disable_destroy() && &c != Container::get_root()) {
+ if (not trace_disable_destroy && &c != Container::get_root()) {
std::stringstream stream;
double timestamp = SIMIX_get_clock();
std::stringstream stream;
double timestamp = SIMIX_get_clock();
TRACE_last_timestamp_to_dump = SIMIX_get_clock();
TRACE_paje_dump_buffer(true);
TRACE_last_timestamp_to_dump = SIMIX_get_clock();
TRACE_paje_dump_buffer(true);
- if (not TRACE_disable_destroy() && &c != Container::get_root()) {
+ if (not trace_disable_destroy && &c != Container::get_root()) {
XBT_DEBUG("%s: event_type=%u, timestamp=%f", __func__, PAJE_DestroyContainer, SIMIX_get_clock());
if (not simgrid::config::get_value<bool>("tracing/smpi/format/ti-one-file") || tracing_files.size() == 1) {
tracing_files.at(&c)->close();
XBT_DEBUG("%s: event_type=%u, timestamp=%f", __func__, PAJE_DestroyContainer, SIMIX_get_clock());
if (not simgrid::config::get_value<bool>("tracing/smpi/format/ti-one-file") || tracing_files.size() == 1) {
tracing_files.at(&c)->close();
XBT_PRIVATE bool TRACE_vm_is_enabled();
XBT_PRIVATE bool TRACE_disable_link();
XBT_PRIVATE bool TRACE_disable_speed();
XBT_PRIVATE bool TRACE_vm_is_enabled();
XBT_PRIVATE bool TRACE_disable_link();
XBT_PRIVATE bool TRACE_disable_speed();
-XBT_PRIVATE bool TRACE_disable_destroy();
XBT_PRIVATE bool TRACE_basic();
XBT_PRIVATE bool TRACE_display_sizes();
XBT_PRIVATE int TRACE_precision();
XBT_PRIVATE bool TRACE_basic();
XBT_PRIVATE bool TRACE_display_sizes();
XBT_PRIVATE int TRACE_precision();