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