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
fix host name issue with ns3 wifi, add ssid, set active probing to false
[simgrid.git]
/
src
/
mc
/
AddressSpace.hpp
diff --git
a/src/mc/AddressSpace.hpp
b/src/mc/AddressSpace.hpp
index 8701fa25972439a3aa195f7aa0f46a0a6e28a81e..27d7496dd09da3ece870b44e1e4f860fd6fe18e3 100644
(file)
--- a/
src/mc/AddressSpace.hpp
+++ b/
src/mc/AddressSpace.hpp
@@
-21,6
+21,7
@@
namespace mc {
class ReadOptions {
std::uint32_t value_ = 0;
constexpr explicit ReadOptions(std::uint32_t value) : value_(value) {}
class ReadOptions {
std::uint32_t value_ = 0;
constexpr explicit ReadOptions(std::uint32_t value) : value_(value) {}
+
public:
constexpr ReadOptions() {}
public:
constexpr ReadOptions() {}
@@
-56,7
+57,7
@@
public:
}
ReadOptions& operator^=(ReadOptions const& that)
{
}
ReadOptions& operator^=(ReadOptions const& that)
{
- value_
&
= that.value_;
+ value_
^
= that.value_;
return *this;
}
return *this;
}
@@
-83,17
+84,17
@@
public:
*/
class AddressSpace {
private:
*/
class AddressSpace {
private:
- Remote
Client* process
_;
+ Remote
Simulation* remote_simulation
_;
public:
public:
- explicit AddressSpace(Remote
Client* process) : process_(process
) {}
+ explicit AddressSpace(Remote
Simulation* remote_simulation) : remote_simulation_(remote_simulation
) {}
virtual ~AddressSpace() = default;
/** The process of this address space
*
virtual ~AddressSpace() = default;
/** The process of this address space
*
- * This is where we can get debug information
s
, memory layout, etc.
+ * This is where we can get debug information, memory layout, etc.
*/
*/
- simgrid::mc::Remote
Client* process() const { return process
_; }
+ simgrid::mc::Remote
Simulation* get_remote_simulation() const { return remote_simulation
_; }
/** Read data from the address space
*
/** Read data from the address space
*
@@
-132,7
+133,6
@@
public:
this->read_bytes(&res[0], len, address);
return res;
}
this->read_bytes(&res[0], len, address);
return res;
}
-
};
}
};
}