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
model-checker : udpate debug information
[simgrid.git]
/
src
/
mc
/
mc_global.c
diff --git
a/src/mc/mc_global.c
b/src/mc/mc_global.c
index
a7f1db8
..
328a69d
100644
(file)
--- a/
src/mc/mc_global.c
+++ b/
src/mc/mc_global.c
@@
-1971,16
+1971,16
@@
void MC_exit(void)
//xbt_abort();
}
//xbt_abort();
}
-int SIMIX_pre_mc_random(smx_simcall_t simcall){
+int SIMIX_pre_mc_random(smx_simcall_t simcall
, int min, int max
){
return simcall->mc_value;
}
return simcall->mc_value;
}
-int MC_random(
void
)
+int MC_random(
int min, int max
)
{
/*FIXME: return mc_current_state->executed_transition->random.value;*/
{
/*FIXME: return mc_current_state->executed_transition->random.value;*/
- return simcall_mc_random();
+ return simcall_mc_random(
min, max
);
}
/**
}
/**