X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b197602d9f391f0020949e793fd191bb722af74a..5410c0dedd6e07e55c0a74a0664d1f8a73d69c1e:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index 3ba667a1d0..e28d4d3913 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -185,6 +185,8 @@ public: double m_speedScale; /*< Percentage of CPU available according to the trace, in [O,1] */ simgrid::Host* m_host = nullptr; + simgrid::Host* getHost() { return m_host; } + /* Note (hypervisor): */ lmm_constraint_t *p_constraintCore=NULL; void **p_constraintCoreId=NULL;