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
/
PageStore.cpp
diff --git
a/src/mc/PageStore.cpp
b/src/mc/PageStore.cpp
index
78f28e6
..
feef524
100644
(file)
--- a/
src/mc/PageStore.cpp
+++ b/
src/mc/PageStore.cpp
@@
-12,9
+12,11
@@
# define MAP_POPULATE MAP_PREFAULT_READ
#endif
# define MAP_POPULATE MAP_PREFAULT_READ
#endif
-#include <xbt/base.h>
-#include <xbt/log.h>
-#include <xbt/sysdep.h>
+#include "xbt/base.h"
+#include "xbt/log.h"
+#include "xbt/sysdep.h"
+
+#include "src/internal_config.h"
#include "src/mc/PageStore.hpp"
#include "src/mc/PageStore.hpp"
@@
-34,8
+36,7
@@
namespace mc {
* @param data Memory page
* @return hash off the page
*/
* @param data Memory page
* @return hash off the page
*/
-static inline __attribute__ ((always_inline))
-PageStore::hash_type mc_hash_page(const void* data)
+static XBT_ALWAYS_INLINE PageStore::hash_type mc_hash_page(const void* data)
{
const std::uint64_t* values = (const uint64_t*) data;
std::size_t n = xbt_pagesize / sizeof(uint64_t);
{
const std::uint64_t* values = (const uint64_t*) data;
std::size_t n = xbt_pagesize / sizeof(uint64_t);