1 /* Copyright (c) 2018. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef INCLUDE_SIMGRID_ENGINE_H_
7 #define INCLUDE_SIMGRID_ENGINE_H_
9 #include <simgrid/forward.h>
13 XBT_PUBLIC void sg_engine_load_platform(const char* filename);
14 XBT_PUBLIC void sg_engine_load_deployment(const char* filename);
15 XBT_PUBLIC void sg_engine_run();
16 XBT_PUBLIC void sg_engine_register_function(const char* name, int (*code)(int, char**));
17 XBT_PUBLIC void sg_engine_register_default(int (*code)(int, char**));
18 XBT_PUBLIC double sg_engine_get_clock();
21 #endif /* INCLUDE_SIMGRID_ENGINE_H_ */