> [ 0.000000] (1:coordinator@Tremblay) CS release. resource now idle
> [ 0.000000] (3:client@Fafard) Ask the request
> [ 0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
-> [ 0.000000] (0:maestro@) Pair 23 already reached (equal to pair 11) !
+> [ 0.000000] (0:maestro@) Pair 22 already reached (equal to pair 10) !
> [ 0.000000] (0:maestro@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> [ 0.000000] (0:maestro@) | ACCEPTANCE CYCLE |
> [ 0.000000] (0:maestro@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> [ 0.000000] (0:maestro@) [(3)Fafard (client)] Wait(comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
> [ 0.000000] (0:maestro@) [(3)Fafard (client)] iSend(src=(3)Fafard (client), buff=(verbose only), size=(verbose only))
> [ 0.000000] (0:maestro@) [(1)Tremblay (coordinator)] Wait(comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
-> [ 0.000000] (0:maestro@) [(1)Tremblay (coordinator)] iSend(src=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
-> [ 0.000000] (0:maestro@) Expanded pairs = 23
-> [ 0.000000] (0:maestro@) Visited pairs = 21
-> [ 0.000000] (0:maestro@) Executed transitions = 21
-> [ 0.000000] (0:maestro@) Counter-example depth : 22
+> [ 0.000000] (0:maestro@) Expanded pairs = 22
+> [ 0.000000] (0:maestro@) Visited pairs = 20
+> [ 0.000000] (0:maestro@) Executed transitions = 20
+> [ 0.000000] (0:maestro@) Counter-example depth : 21
> [ 0.000000] (1:coordinator@Tremblay) CS release. resource now idle
> [ 0.000000] (3:client@Fafard) Ask the request
> [ 0.000000] (1:coordinator@Tremblay) CS idle. Grant immediatly
-> [ 0.000000] (0:maestro@) Pair 23 already reached (equal to pair 11) !
+> [ 0.000000] (0:maestro@) Pair 22 already reached (equal to pair 10) !
> [ 0.000000] (0:maestro@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> [ 0.000000] (0:maestro@) | ACCEPTANCE CYCLE |
> [ 0.000000] (0:maestro@) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> [ 0.000000] (0:maestro@) [(3)Fafard (client)] Wait(comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
> [ 0.000000] (0:maestro@) [(3)Fafard (client)] iSend(src=(3)Fafard (client), buff=(verbose only), size=(verbose only))
> [ 0.000000] (0:maestro@) [(1)Tremblay (coordinator)] Wait(comm=(verbose only) [(3)Fafard (client)-> (1)Tremblay (coordinator)])
-> [ 0.000000] (0:maestro@) [(1)Tremblay (coordinator)] iSend(src=(1)Tremblay (coordinator), buff=(verbose only), size=(verbose only))
-> [ 0.000000] (0:maestro@) Expanded pairs = 23
-> [ 0.000000] (0:maestro@) Visited pairs = 21
-> [ 0.000000] (0:maestro@) Executed transitions = 21
-> [ 0.000000] (0:maestro@) Counter-example depth : 22
+> [ 0.000000] (0:maestro@) Expanded pairs = 22
+> [ 0.000000] (0:maestro@) Visited pairs = 20
+> [ 0.000000] (0:maestro@) Executed transitions = 20
+> [ 0.000000] (0:maestro@) Counter-example depth : 21
XBT_PRIVATE void _mc_cfg_cb_termination(const char *name, int pos);
XBT_PUBLIC(void) MC_run(void);
-XBT_PUBLIC(void) MC_init(void);
XBT_PUBLIC(void) MC_exit(void);
XBT_PUBLIC(void) MC_process_clock_add(smx_process_t, double);
XBT_PUBLIC(double) MC_process_clock_get(smx_process_t);
}
-#if HAVE_MC
-void MC_init()
-{
- simgrid::mc::processes_time.resize(simix_process_maxpid);
-
- if (_sg_mc_visited > 0 || _sg_mc_liveness || _sg_mc_termination || mc_mode == MC_MODE_SERVER) {
- /* Those requests are handled on the client side and propagated by message
- * to the server: */
-
- MC_ignore_heap(simgrid::mc::processes_time.data(),
- simix_process_maxpid * sizeof(double));
-
- smx_process_t process;
- xbt_swag_foreach(process, simix_global->process_list)
- MC_ignore_heap(&(process->process_hookup), sizeof(process->process_hookup));
- }
-}
-
-#endif
-
/******************************* Core of MC *******************************/
/**************************************************************************/
void MC_run()
{
- mc_mode = MC_MODE_CLIENT;
- MC_init();
+ simgrid::mc::processes_time.resize(simix_process_maxpid);
+ MC_ignore_heap(simgrid::mc::processes_time.data(),
+ simgrid::mc::processes_time.size() * sizeof(simgrid::mc::processes_time[0]));
+ smx_process_t process;
+ xbt_swag_foreach(process, simix_global->process_list)
+ MC_ignore_heap(&(process->process_hookup), sizeof(process->process_hookup));
simgrid::mc::Client::get()->mainLoop();
}