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
document last changes
[simgrid.git]
/
src
/
mc
/
mc_liveness.c
diff --git
a/src/mc/mc_liveness.c
b/src/mc/mc_liveness.c
index
01d0124
..
19a312f
100644
(file)
--- a/
src/mc/mc_liveness.c
+++ b/
src/mc/mc_liveness.c
@@
-207,8
+207,14
@@
int reached(xbt_state_t st){
xbt_free(prop_ato);
MC_UNSET_RAW_MEM;
return 1;
xbt_free(prop_ato);
MC_UNSET_RAW_MEM;
return 1;
+ }else{
+ XBT_DEBUG("Different snapshot");
}
}
+ }else{
+ XBT_DEBUG("Different values of propositional symbols");
}
}
+ }else{
+ XBT_DEBUG("Different automaton state");
}
}
}
}
@@
-306,11
+312,16
@@
int reached_hash(xbt_state_t st){
xbt_free(prop_ato);
MC_UNSET_RAW_MEM;
return 1;
xbt_free(prop_ato);
MC_UNSET_RAW_MEM;
return 1;
+ }else{
+ XBT_DEBUG("Different snapshot");
}
}
+ }else{
+ XBT_DEBUG("Different values of propositional symbols");
}
}
+ }else{
+ XBT_DEBUG("Different automaton state");
}
}
-
-
+
region_diff = 0;
}
region_diff = 0;
}
@@
-407,9
+418,17
@@
int visited(xbt_state_t st, int sc){
return 1;
return 1;
+ }else{
+ XBT_DEBUG("Different snapshot");
}
}
+ }else{
+ XBT_DEBUG("Different values of propositional symbols");
}
}
+ }else{
+ XBT_DEBUG("Different automaton state");
}
}
+ }else{
+ XBT_DEBUG("Different value of search_cycle");
}
}
}
}
@@
-479,11
+498,19
@@
int visited_hash(xbt_state_t st, int sc){
xbt_free(prop_ato);
MC_UNSET_RAW_MEM;
return 1;
xbt_free(prop_ato);
MC_UNSET_RAW_MEM;
return 1;
+ }else{
+ XBT_DEBUG("Different snapshot");
}
}
+ }else{
+ XBT_DEBUG("Different values of propositional symbols");
}
}
+ }else{
+ XBT_DEBUG("Different automaton state");
}
}
+ }else{
+ XBT_DEBUG("Different value of search_cycle");
}
}
-
+
region_diff = 0;
}
region_diff = 0;
}
@@
-616,6
+643,7
@@
int MC_automaton_evaluate_label(xbt_exp_label_t l){
}
default :
return -1;
}
default :
return -1;
+ break;
}
}
}
}
@@
-742,7
+770,7
@@
void MC_ddfs(int search_cycle){
int value;
mc_state_t next_graph_state = NULL;
int value;
mc_state_t next_graph_state = NULL;
- smx_
req
_t req = NULL;
+ smx_
simcall
_t req = NULL;
char *req_str;
xbt_transition_t transition_succ;
char *req_str;
xbt_transition_t transition_succ;
@@
-774,7
+802,7
@@
void MC_ddfs(int search_cycle){
MC_state_set_executed_request(current_pair->graph_state, req, value);
/* Answer the request */
MC_state_set_executed_request(current_pair->graph_state, req, value);
/* Answer the request */
- SIMIX_
request
_pre(req, value);
+ SIMIX_
simcall
_pre(req, value);
/* Wait for requests (schedules processes) */
MC_wait_for_requests();
/* Wait for requests (schedules processes) */
MC_wait_for_requests();