void TRACE_surf_link_set_bandwidth(double date, const char *resource, double bandwidth) { if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) { container_t container = PJ_container_get(resource); type_t type = PJ_type_get ("bandwidth", container->type); new_pajeSetVariable(date, container, type, bandwidth); } }
int TRACE_needs_platform (void) { return TRACE_msg_process_is_enabled() || TRACE_categorized() || TRACE_uncategorized() || TRACE_platform () || (TRACE_smpi_is_enabled() && TRACE_smpi_is_grouped()); }
void TRACE_surf_host_set_power(double date, const char *resource, double power) { if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) { container_t container = PJ_container_get(resource); type_t type = PJ_type_get ("power", container->type); new_pajeSetVariable(date, container, type, power); } }