X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b605c24eb28349bfb6d61da080733e19a7cb9a2..633f3ab4f0f29940ea9759bfe3dc4f8ec37595e8:/src/mc/mc_dpor.c diff --git a/src/mc/mc_dpor.c b/src/mc/mc_dpor.c index 3d5b514593..2c9ad7f205 100644 --- a/src/mc/mc_dpor.c +++ b/src/mc/mc_dpor.c @@ -4,7 +4,7 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "private.h" +#include "mc_private.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_dpor, mc, "Logging specific to MC DPOR exploration"); @@ -53,7 +53,7 @@ void MC_dpor(void) { char *req_str; int value; - smx_req_t req = NULL, prev_req = NULL; + smx_simcall_t req = NULL, prev_req = NULL; mc_state_t state = NULL, prev_state = NULL, next_state = NULL; smx_process_t process = NULL; xbt_fifo_item_t item = NULL; @@ -88,7 +88,7 @@ void MC_dpor(void) mc_stats->executed_transitions++; /* Answer the request */ - SIMIX_request_pre(req, value); /* After this call req is no longer usefull */ + SIMIX_simcall_pre(req, value); /* After this call req is no longer usefull */ /* Wait for requests (schedules processes) */ MC_wait_for_requests(); @@ -232,7 +232,7 @@ void MC_dpor_stateful(){ int value; mc_state_t next_graph_state = NULL; - smx_req_t req = NULL, prev_req = NULL; + smx_simcall_t req = NULL, prev_req = NULL; char *req_str; xbt_fifo_item_t item = NULL; @@ -268,7 +268,7 @@ void MC_dpor_stateful(){ mc_stats->executed_transitions++; /* Answer the request */ - SIMIX_request_pre(req, value); + SIMIX_simcall_pre(req, value); /* Wait for requests (schedules processes) */ MC_wait_for_requests();