Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge the HL13 VM model into the main VirtualMachine class
[simgrid.git] / src / surf / vm_hl13.hpp
diff --git a/src/surf/vm_hl13.hpp b/src/surf/vm_hl13.hpp
deleted file mode 100644 (file)
index e50883a..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/* Copyright (c) 2013-2015. The SimGrid Team.
- * All rights reserved.                                                     */
-
-/* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
-
-#include "xbt/base.h"
-
-#include "host_clm03.hpp"
-#include "virtual_machine.hpp"
-
-#ifndef SURF_VM_HPP_
-#define SURF_VM_HPP_
-
-#define GUESTOS_NOISE 100 // This value corresponds to the cost of the global action associated to the VM
-                          // It corresponds to the cost of a VM running no tasks.
-
-namespace simgrid {
-namespace surf {
-
-/***********
- * Classes *
- ***********/
-
-class XBT_PRIVATE VMHL13Model;
-class XBT_PRIVATE VMHL13;
-
-/*********
- * Model *
- *********/
-class VMHL13Model : public VMModel {
-public:
-  VMHL13Model();
-  ~VMHL13Model(){};
-
-  s4u::Host *createVM(const char *name, sg_host_t host_PM) override;
-  double next_occuring_event(double now) override;
-  void adjustWeightOfDummyCpuActions() override {};
-  void updateActionsState(double /*now*/, double /*delta*/) override;
-};
-
-/************
- * Resource *
- ************/
-
-class VMHL13 : public VirtualMachine {
-public:
-  VMHL13(VMModel *model, const char* name, sg_host_t host_PM);
-  ~VMHL13();
-
-  void migrate(sg_host_t ind_dst_pm) override;
-  void setBound(double bound) override;
-};
-
-/**********
- * Action *
- **********/
-
-}
-}
-
-#endif /* SURF_VM_HPP_ */