A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove all the events that are called and destroyed one time
[simgrid.git]
/
src
/
mc
/
mc_record.cpp
diff --git
a/src/mc/mc_record.cpp
b/src/mc/mc_record.cpp
index
8fff9d0
..
62a4fa8
100644
(file)
--- a/
src/mc/mc_record.cpp
+++ b/
src/mc/mc_record.cpp
@@
-12,8
+12,8
@@
#include <sstream>
#include <string>
#include <sstream>
#include <string>
-#include
<xbt/log.h>
-#include
<xbt/sysdep.h>
+#include
"xbt/log.h"
+#include
"xbt/sysdep.h"
#include "simgrid/simix.h"
#include "simgrid/simix.h"
@@
-26,12
+26,12
@@
#include "src/mc/mc_base.h"
#include "src/mc/Transition.hpp"
#include "src/mc/mc_base.h"
#include "src/mc/Transition.hpp"
-#if HAVE_MC
+#if
SIMGRID_
HAVE_MC
#include "src/mc/mc_request.h"
#include "src/mc/mc_private.h"
#include "src/mc/mc_state.h"
#include "src/mc/mc_smx.h"
#include "src/mc/mc_request.h"
#include "src/mc/mc_private.h"
#include "src/mc/mc_state.h"
#include "src/mc/mc_smx.h"
-#include "src/mc/Checker.hpp"
+#include "src/mc/
checker/
Checker.hpp"
#endif
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_record, mc,
#endif
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_record, mc,
@@
-53,13
+53,12
@@
void replay(RecordTrace const& trace)
// Choose a request:
smx_actor_t process = SIMIX_process_from_PID(transition.pid);
// Choose a request:
smx_actor_t process = SIMIX_process_from_PID(transition.pid);
- if (
!
process)
+ if (
not
process)
xbt_die("Unexpected process.");
smx_simcall_t simcall = &(process->simcall);
xbt_die("Unexpected process.");
smx_simcall_t simcall = &(process->simcall);
- if
(!
simcall || simcall->call == SIMCALL_NONE)
+ if
(not
simcall || simcall->call == SIMCALL_NONE)
xbt_die("No simcall for this process.");
xbt_die("No simcall for this process.");
- if (!simgrid::mc::request_is_visible(simcall)
- || !simgrid::mc::request_is_enabled(simcall))
+ if (not simgrid::mc::request_is_visible(simcall) || not simgrid::mc::request_is_enabled(simcall))
xbt_die("Unexpected simcall.");
// Execute the request:
xbt_die("Unexpected simcall.");
// Execute the request:
@@
-103,7
+102,7
@@
RecordTrace parseRecordTrace(const char* data)
return res;
}
return res;
}
-#if HAVE_MC
+#if
SIMGRID_
HAVE_MC
std::string traceToString(simgrid::mc::RecordTrace const& trace)
{
std::string traceToString(simgrid::mc::RecordTrace const& trace)
{