Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Replace the override word with MC_OVERRIDE
[simgrid.git] / src / mc / mc_replay.h
1 /* simgrid/modelchecker.h - Formal Verification made possible in SimGrid    */
2
3 /* Copyright (c) 2008-2014. The SimGrid Team.
4  * All rights reserved.                                                     */
5
6 /* This program is free software; you can redistribute it and/or modify it
7  * under the terms of the license (GNU LGPL) which comes with this package. */
8
9 #include <xbt/misc.h>
10
11 #ifndef SIMGRID_MC_REPLAY_H
12 #define SIMGRID_MC_REPLAY_H
13
14 SG_BEGIN_DECL()
15
16 /** Replay path (if any) in string representation
17  *
18  *  This is a path as generated by `MC_record_stack_to_string()`.
19  */
20 XBT_PUBLIC_DATA(char*) MC_record_path;
21
22 /** Whether the replay mode is enabled */
23 static inline int MC_record_replay_is_active(void) {
24   return MC_record_path != 0;
25 }
26
27 SG_END_DECL()
28
29 #endif