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/src/modeling/machine/CPU.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Simulator/src/modeling/machine/CPU.cpp (limited to 'Simulator/src/modeling/machine/CPU.cpp') diff --git a/Simulator/src/modeling/machine/CPU.cpp b/Simulator/src/modeling/machine/CPU.cpp deleted file mode 100644 index 0caa34ec..00000000 --- a/Simulator/src/modeling/machine/CPU.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "modeling/machine/CPU.h" - -namespace Modeling -{ - CPU::CPU(int speed, int cores, int energyConsumption, int failureModelId) : speed(speed), cores(cores), energyConsumption(energyConsumption), failureModelId(failureModelId) {} - - int CPU::getCores() const - { - return this->cores; - } - - int CPU::getEnergyConsumption() const - { - return this->energyConsumption; - } - - int CPU::getFailureModelId() const - { - return this->failureModelId; - } - - int CPU::getSpeed() const - { - return this->speed; - } -} -- cgit v1.2.3