X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f4f03348bd07609e258eb3b545bdafc2c881847..a49a03122b2def71ff741e78d15b38cd1d171184:/src/mc/mc_replay.h diff --git a/src/mc/mc_replay.h b/src/mc/mc_replay.h index 5dc957ae9c..fa295af75f 100644 --- a/src/mc/mc_replay.h +++ b/src/mc/mc_replay.h @@ -1,26 +1,23 @@ -/* Copyright (c) 2008-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2008-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -/* simgrid/modelchecker.h - Formal Verification made possible in SimGrid */ - #ifndef SIMGRID_MC_REPLAY_H #define SIMGRID_MC_REPLAY_H -#include +#include "xbt/base.h" SG_BEGIN_DECL() /** Replay path (if any) in string representation * - * This is a path as generated by `MC_record_stack_to_string()`. + * This is using the format generated by traceToString(). */ XBT_PUBLIC_DATA(char*) MC_record_path; /** Whether the replay mode is enabled */ -static inline int MC_record_replay_is_active(void) { +static inline int MC_record_replay_is_active() { return MC_record_path != 0; }