Adding a tiny index field to lmm_variable
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3074
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
}
}
-static void lmm_print(lmm_system_t sys)
+void lmm_print(lmm_system_t sys)
{
lmm_constraint_t cnst = NULL;
lmm_element_t elem = NULL;
var->value = 0.0;
}
-
- /* Compute Usage and store the variables that reach the maximum */
-
+ /*
+ * Compute Usage and store the variables that reach the maximum.
+ */
cnst_list = &(sys->active_constraint_set);
DEBUG1("Active constraints : %d", xbt_swag_size(cnst_list));
xbt_swag_foreach(cnst, cnst_list) {
double bound;
double value;
void *id;
+ int index;
} s_lmm_variable_t;
typedef struct lmm_system {
static void lmm_var_free(lmm_system_t sys, lmm_variable_t var);
static void lmm_cnst_free(lmm_system_t sys, lmm_constraint_t cnst);
+void lmm_print(lmm_system_t sys);
+
#endif /* _SURF_MAXMIN_PRIVATE_H */