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
Added Mailbox::set_receiver to python binding
[simgrid.git]
/
src
/
mc
/
mc_memory.cpp
diff --git
a/src/mc/mc_memory.cpp
b/src/mc/mc_memory.cpp
index
2864b9d
..
de7d62d
100644
(file)
--- a/
src/mc/mc_memory.cpp
+++ b/
src/mc/mc_memory.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2008-20
17
. The SimGrid Team.
+/* Copyright (c) 2008-20
20
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-7,17
+7,10
@@
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include "xbt/log.h"
-
#include "mc/mc.h"
#include "src/mc/mc_private.hpp"
#include "src/xbt/mmalloc/mmprivate.h"
#include "mc/mc.h"
#include "src/mc/mc_private.hpp"
#include "src/xbt/mmalloc/mmprivate.h"
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_memory, mc,
- "Logging specific to MC (memory)");
-
-extern "C" {
-
/* Initialize the model-checker memory subsystem */
/* It creates the two heap regions: std_heap and mc_heap */
void MC_memory_init()
/* Initialize the model-checker memory subsystem */
/* It creates the two heap regions: std_heap and mc_heap */
void MC_memory_init()
@@
-25,5
+18,3
@@
void MC_memory_init()
if (not malloc_use_mmalloc())
xbt_die("Model-checking support is not enabled: run with simgrid-mc.");
}
if (not malloc_use_mmalloc())
xbt_die("Model-checking support is not enabled: run with simgrid-mc.");
}
-
-}