Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / src / mc / mc_environ.h
1 /* Copyright (c) 2023. 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 MC_ENVIRON_H
7 #define MC_ENVIRON_H
8
9 /* Define macros for the name of environment variables used by the MC.  Keep them in a separate file without any other
10  * includes, since it's also loaded from mmalloc.
11  */
12
13 /** Environment variable name used to pass the communication socket.
14  *
15  * It is set by `simgrid-mc` to enable MC support in the children processes.
16  */
17 #define MC_ENV_SOCKET_FD "SIMGRID_MC_SOCKET_FD"
18
19 /** Environment variable used to request additional system statistics.
20  */
21 #define MC_ENV_SYSTEM_STATISTICS "SIMGRID_MC_SYSTEM_STATISTICS"
22
23 #endif