X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a243b4c3535f516d05259cac06963c422d4aadc0..18ba8a3fabab08a493038a2e11e5df5b4b6de4f0:/src/simdag/sd_global.c diff --git a/src/simdag/sd_global.c b/src/simdag/sd_global.c index c34f3d94b0..e3f62b1381 100644 --- a/src/simdag/sd_global.c +++ b/src/simdag/sd_global.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2013. The SimGrid Team. +/* Copyright (c) 2006-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -313,7 +313,7 @@ xbt_swag_t SD_simulate_swag(double how_long) { /* FIXME: shoud look at model_list or model_list_invoke? */ /* let's see which tasks are done */ xbt_dynar_foreach(model_list, iter, model) { - while ((action = xbt_swag_extract(surf_model_done_action_set(model)))) { + while ((action = surf_model_extract_done_action_set(model))) { task = surf_action_get_data(action); task->start_time = surf_action_get_start_time(task->surf_action); @@ -380,7 +380,7 @@ xbt_swag_t SD_simulate_swag(double how_long) { } /* let's see which tasks have just failed */ - while ((action = xbt_swag_extract(surf_model_failed_action_set(model)))) { + while ((action = surf_model_extract_failed_action_set(model))) { task = surf_action_get_data(action); task->start_time = surf_action_get_start_time(task->surf_action); task->finish_time = surf_get_clock();