Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[TRACING] Rename TIT action reduceScatter -> reducescatter
[simgrid.git] / include / simgrid / engine.h
1 /* Copyright (c) 2018. The SimGrid Team. All rights reserved.          */
2
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. */
5
6 #ifndef INCLUDE_SIMGRID_ENGINE_H_
7 #define INCLUDE_SIMGRID_ENGINE_H_
8
9 #include <simgrid/forward.h>
10
11 /* C interface */
12 SG_BEGIN_DECL()
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();
19 SG_END_DECL()
20
21 #endif /* INCLUDE_SIMGRID_ENGINE_H_ */