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
New method: MutexImpl::is_granted()
[simgrid.git]
/
src
/
xbt
/
memory_map.hpp
diff --git
a/src/xbt/memory_map.hpp
b/src/xbt/memory_map.hpp
index 3bf3d68869b5442cd1d685ce98ac8a6afe1ab04e..88807a27fcdedece080157a773fcfba74097e7a6 100644
(file)
--- a/
src/xbt/memory_map.hpp
+++ b/
src/xbt/memory_map.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007-20
15
. The SimGrid Team.
+/* Copyright (c) 2007-20
23
. 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
@@
-11,11
+11,7
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
-#include <xbt/base.h>
-#include <sys/types.h>
-
-namespace simgrid {
-namespace xbt {
+namespace simgrid::xbt {
/** An virtual memory map entry from /proc/$pid/maps */
struct VmMap {
/** An virtual memory map entry from /proc/$pid/maps */
struct VmMap {
@@
-30,9
+26,7
@@
struct VmMap {
std::string pathname; /* Path name of the mapped file */
};
std::string pathname; /* Path name of the mapped file */
};
-XBT_PRIVATE std::vector<VmMap> get_memory_map(pid_t pid);
-
-}
-}
+std::vector<VmMap> get_memory_map(pid_t pid);
+} // namespace simgrid::xbt
#endif
#endif