X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c18091c2618f718dcd672ed8391572eeb80ad99..cf454dfcf7c27e86e15af1a45c58dbb7a76e43c8:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index f745b5d44b..b71f146f37 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -48,7 +48,7 @@ public: * Resource * ************/ -class XBT_PUBLIC Cpu : public Resource { +class XBT_PUBLIC Cpu : public Resource_T { friend vm::VirtualMachineImpl; // Resets the VCPU s4u::Host* piface_; @@ -75,6 +75,8 @@ public: Cpu* set_core_count(int core_count); virtual int get_core_count(); + void seal(); + /** @brief Get a forecast of the speed (in flops/s) if the load were as provided. * * The provided load should encompasses both the application's activities and the external load that come from a