Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2023.
[simgrid.git] / include / simgrid / engine.h
index 0ef4599..b4e8c08 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2018-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2018-2023. The 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. */
@@ -29,8 +29,10 @@ XBT_PUBLIC void simgrid_load_platform(const char* filename);
  * \endrst
  */
 XBT_PUBLIC void simgrid_load_deployment(const char* filename);
-/** Run the simulation after initialization */
+/** Run the simulation until its end */
 XBT_PUBLIC void simgrid_run();
+/** Run the simulation until the specified date */
+XBT_PUBLIC void simgrid_run_until(double max_date);
 /** Registers the main function of an actor that will be launched from the deployment file */
 XBT_PUBLIC void simgrid_register_function(const char* name, void (*code)(int, char**));
 /** Registers a function as the default main function of actors