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
move the VM-related data out of MSG's private data for hosts
[simgrid.git]
/
src
/
surf
/
VirtualMachineImpl.hpp
diff --git
a/src/surf/VirtualMachineImpl.hpp
b/src/surf/VirtualMachineImpl.hpp
index
8a8cc68
..
53f948d
100644
(file)
--- a/
src/surf/VirtualMachineImpl.hpp
+++ b/
src/surf/VirtualMachineImpl.hpp
@@
-85,6
+85,11
@@
public:
/* The vm object of the lower layer */
CpuAction* action_ = nullptr;
/* The vm object of the lower layer */
CpuAction* action_ = nullptr;
+ /* Dirty pages stuff */
+ int dp_enabled = 0;
+ xbt_dict_t dp_objs = nullptr;
+ double dp_updated_by_deleted_tasks = 0;
+
protected:
simgrid::s4u::Host* hostPM_;
protected:
simgrid::s4u::Host* hostPM_;
@@
-93,6
+98,8
@@
public:
void setState(e_surf_vm_state_t state);
static std::deque<VirtualMachineImpl*> allVms_;
void setState(e_surf_vm_state_t state);
static std::deque<VirtualMachineImpl*> allVms_;
+ bool isMigrating = false;
+
private:
s_vm_params_t params_;
private:
s_vm_params_t params_;