X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/edde8f7fbc1b74a81551bf9eb7bac1935b999296..836c888a9f8c7be6a2ec571a2f838c76a7df1a40:/src/mc/mc_dpor.c diff --git a/src/mc/mc_dpor.c b/src/mc/mc_dpor.c index 3d5b514593..ebb68bdd94 100644 --- a/src/mc/mc_dpor.c +++ b/src/mc/mc_dpor.c @@ -1,10 +1,9 @@ -/* Copyright (c) 2008 Martin Quinson, Cristian Rosa. - All rights reserved. */ +/* Copyright (c) 2008-2012. Da SimGrid Team. All rights reserved. */ /* 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 +52,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 +87,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 +231,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 +267,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();