summaryrefslogtreecommitdiff
path: root/Simulator/src/modeling/machine/CPU.cpp
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2017-07-09 23:48:06 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2017-07-09 23:48:06 +0200
commitc94d0c347fdbd8acc774df4ac17617a3f63e4507 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /Simulator/src/modeling/machine/CPU.cpp
parentbc4c41e21a64b444bdbab3b6d1d407fd5d919419 (diff)
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.
Diffstat (limited to 'Simulator/src/modeling/machine/CPU.cpp')
-rw-r--r--Simulator/src/modeling/machine/CPU.cpp26
1 files changed, 0 insertions, 26 deletions
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;
- }
-}