Todo:
- find a way to trace the lazy network update method
}
}
+void TRACE_set_network_update_mechanism (void)
+{
+ if (TRACE_is_enabled()){
+ if (TRACE_categorized() || TRACE_uncategorized()){
+ XBT_INFO ("Tracing resource utilization active, network/optim configuration now set to Full.");
+ xbt_cfg_set_string (_surf_cfg_set, "network/optim", "Full");
+ }
+ }
+}
+
#undef OPT_TRACING
#undef OPT_TRACING_PLATFORM
#undef OPT_TRACING_SMPI
void TRACE_help(int detailed);
void TRACE_generate_triva_uncat_conf (void);
void TRACE_generate_triva_cat_conf (void);
+void TRACE_set_network_update_mechanism (void);
/* from resource_utilization.c */
void TRACE_surf_host_set_utilization(const char *resource,
}
static void set_update_mechanism(void) {
+#ifdef HAVE_TRACING
+ TRACE_set_network_update_mechanism ();
+#endif
+
char *optim = xbt_cfg_get_string(_surf_cfg_set, "network/optim");
int select = xbt_cfg_get_int(_surf_cfg_set, "network/maxmin_selective_update");