A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sonar is picky, so let's be verbose
[simgrid.git]
/
src
/
include
/
surf
/
maxmin.h
diff --git
a/src/include/surf/maxmin.h
b/src/include/surf/maxmin.h
index
2e0f5ad
..
9698c0f
100644
(file)
--- a/
src/include/surf/maxmin.h
+++ b/
src/include/surf/maxmin.h
@@
-7,7
+7,7
@@
#ifndef _SURF_MAXMIN_H
#define _SURF_MAXMIN_H
#ifndef _SURF_MAXMIN_H
#define _SURF_MAXMIN_H
-#include "src/
portable
.h"
+#include "src/
internal_config
.h"
#include "xbt/misc.h"
#include "xbt/asserts.h"
#include "surf/datatypes.h"
#include "xbt/misc.h"
#include "xbt/asserts.h"
#include "surf/datatypes.h"
@@
-124,6
+124,7
@@
XBT_PUBLIC_DATA(double) sg_maxmin_precision;
XBT_PUBLIC_DATA(double) sg_surf_precision;
XBT_PUBLIC_DATA(double) sg_maxmin_precision;
XBT_PUBLIC_DATA(double) sg_surf_precision;
+XBT_PUBLIC_DATA(int) sg_concurrency_limit;
static inline void double_update(double *variable, double value, double precision)
{
static inline void double_update(double *variable, double value, double precision)
{
@@
-152,9
+153,9
@@
SG_BEGIN_DECL()
/** @{ @ingroup SURF_lmm */
/**
* @brief Create a new Linear MaxMim system
/** @{ @ingroup SURF_lmm */
/**
* @brief Create a new Linear MaxMim system
- * @param selective_update
[description]
+ * @param selective_update
whether we should do lazy updates
*/
*/
-XBT_PUBLIC(lmm_system_t) lmm_system_new(
int
selective_update);
+XBT_PUBLIC(lmm_system_t) lmm_system_new(
bool
selective_update);
/**
* @brief Free an existing Linear MaxMin system
/**
* @brief Free an existing Linear MaxMin system
@@
-335,7
+336,7
@@
XBT_PUBLIC(lmm_variable_t) lmm_get_var_from_cnst(lmm_system_t sys, lmm_constrain
*
* @return A variable associated to a constraint
*/
*
* @return A variable associated to a constraint
*/
-XBT_PUBLIC(lmm_variable_t) lmm_get_var_from_cnst_safe(lmm_system_t
/*sys*/
, lmm_constraint_t cnst,
+XBT_PUBLIC(lmm_variable_t) lmm_get_var_from_cnst_safe(lmm_system_t
sys
, lmm_constraint_t cnst,
lmm_element_t * elem, lmm_element_t * nextelem, int * numelem);
/**
lmm_element_t * elem, lmm_element_t * nextelem, int * numelem);
/**