- virtual void onSpeedChange();
-
-public:
- /** @brief Get the available speed of the current Cpu */
- virtual double get_available_speed();
-
- /** @brief Get the current Cpu computational speed */
- virtual double getPstateSpeed(int pstate_index);
-
- virtual int get_pstates_count();
- virtual void set_pstate(int pstate_index);
- virtual int get_pstate();
-
- simgrid::s4u::Host* get_host() { return host_; }
-
-private:
- int cores_count_ = 1;
- simgrid::s4u::Host* host_;