1 /* Copyright (c) 2008-2015. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 /* simgrid/modelchecker.h - Formal Verification made possible in SimGrid */
9 #ifndef SIMGRID_MC_REPLAY_H
10 #define SIMGRID_MC_REPLAY_H
16 /** Replay path (if any) in string representation
18 * This is a path as generated by `MC_record_stack_to_string()`.
20 XBT_PUBLIC_DATA(char*) MC_record_path;
22 /** Whether the replay mode is enabled */
23 static inline int MC_record_replay_is_active(void) {
24 return MC_record_path != 0;