diff options
Diffstat (limited to 'Simulator/include/modeling/machine/CPU.h')
| -rw-r--r-- | Simulator/include/modeling/machine/CPU.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Simulator/include/modeling/machine/CPU.h b/Simulator/include/modeling/machine/CPU.h deleted file mode 100644 index 95af1c86..00000000 --- a/Simulator/include/modeling/machine/CPU.h +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once - -namespace Modeling -{ - class CPU - { - public: - /** - * \brief Creates a CPU with the given speed/core, number of cores, energy consumption, and failure model id. - */ - CPU(int speed, int cores, int energyConsumption, int failureModelId); - - /** - * \return the speed of this CPU. - */ - int getSpeed() const; - - /** - * \return The nr of cores of this CPU. - */ - int getCores() const; - - /** - * \return The energy consumed by this CPU. - */ - int getEnergyConsumption() const; - - /** - * \return The failure model id of this CPU. - */ - int getFailureModelId() const; - - - private: - int speed, cores, energyConsumption, failureModelId; - }; -} |
