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 some typo in the comments, just to launch a rebuild on servers
[simgrid.git]
/
src
/
mc
/
AddressSpace.hpp
diff --git
a/src/mc/AddressSpace.hpp
b/src/mc/AddressSpace.hpp
index
c4985e2
..
86ebd26
100644
(file)
--- a/
src/mc/AddressSpace.hpp
+++ b/
src/mc/AddressSpace.hpp
@@
-1,5
+1,4
@@
-/* Copyright (c) 2008-2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2008-2019. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-7,15
+6,6
@@
#ifndef SIMGRID_MC_ADDRESS_SPACE_H
#define SIMGRID_MC_ADDRESS_SPACE_H
#ifndef SIMGRID_MC_ADDRESS_SPACE_H
#define SIMGRID_MC_ADDRESS_SPACE_H
-#include <cassert>
-#include <cstddef>
-#include <cstdint>
-#include <cstring>
-#include <type_traits>
-
-#include <string>
-#include <vector>
-
#include "src/mc/mc_forward.hpp"
#include "src/mc/remote/RemotePtr.hpp"
#include "src/mc/mc_forward.hpp"
#include "src/mc/remote/RemotePtr.hpp"
@@
-109,16
+99,17
@@
public:
*/
class AddressSpace {
private:
*/
class AddressSpace {
private:
- Process* process_;
+ RemoteClient* process_;
+
public:
public:
- explicit AddressSpace(
Process
* process) : process_(process) {}
+ explicit AddressSpace(
RemoteClient
* process) : process_(process) {}
virtual ~AddressSpace() = default;
virtual ~AddressSpace() = default;
- /** The process of this addres space
+ /** The process of this addres
s
space
*
* This is where we can get debug informations, memory layout, etc.
*/
*
* This is where we can get debug informations, memory layout, etc.
*/
- simgrid::mc::
Process
* process() const { return process_; }
+ simgrid::mc::
RemoteClient
* process() const { return process_; }
/** Read data from the address space
*
/** Read data from the address space
*
@@
-145,7
+136,7
@@
public:
this->read_bytes(buffer.getBuffer(), sizeof(T), ptr, process_index);
}
this->read_bytes(buffer.getBuffer(), sizeof(T), ptr, process_index);
}
- /** Read a given data structure from the addres space
+ /** Read a given data structure from the addres
s
space
*
* This version returns by value.
*/
*
* This version returns by value.
*/