Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
continue to mess up with simdag
[simgrid.git] / examples / deprecated / simdag / throttling / sd_throttling.c
index 6a9b7b8..2acf571 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2020. The SimGrid Team.
+/* Copyright (c) 2006-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -47,7 +47,7 @@ int main(int argc, char **argv)
 
   SD_simulate_with_update(-1.0, changed_tasks);
   while (!xbt_dynar_is_empty(changed_tasks)) {
-    XBT_INFO("Simulation stopped after %.4f seconds", SD_get_clock());
+    XBT_INFO("Simulation stopped after %.4f seconds", simgrid_get_clock());
     xbt_dynar_foreach(changed_tasks, ctr, task) {
       XBT_INFO("Task '%s' start time: %f, finish time: %f", SD_task_get_name(task), SD_task_get_start_time(task),
                SD_task_get_finish_time(task));