X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b6fcc4129a6eee8ac3e7e7db57062b6a5dd8bf51..561ae92673342c5b5879045566e7aa39979df0f0:/src/surf/vm_hl13.hpp diff --git a/src/surf/vm_hl13.hpp b/src/surf/vm_hl13.hpp deleted file mode 100644 index e50883ad64..0000000000 --- a/src/surf/vm_hl13.hpp +++ /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_ */