From c94d0c347fdbd8acc774df4ac17617a3f63e4507 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 9 Jul 2017 23:48:06 +0200 Subject: Delete old codebase This change removes version 1 of the OpenDC simulator codebase as it will be replaced by a complete rewrite in the Kotlin language. --- Simulator/include/modeling/machine/CPU.h | 37 -------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 Simulator/include/modeling/machine/CPU.h (limited to 'Simulator/include/modeling/machine/CPU.h') 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; - }; -} -- cgit v1.2.3