X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f2df13795e01302813a6aef10825ec7e922ce530..1cecc204a88a65f9f0c4a97627fc7ff159fed3a2:/src/surf/vm_workstation_hl13.hpp diff --git a/src/surf/vm_workstation_hl13.hpp b/src/surf/vm_workstation_hl13.hpp index 24d6175e70..a17605c3c8 100644 --- a/src/surf/vm_workstation_hl13.hpp +++ b/src/surf/vm_workstation_hl13.hpp @@ -13,8 +13,6 @@ #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. -void surf_vm_workstation_model_init(void); - /*********** * Classes * ***********/ @@ -25,10 +23,6 @@ typedef WorkstationVMHL13Model *WorkstationVMHL13ModelPtr; class WorkstationVMHL13; typedef WorkstationVMHL13 *WorkstationVMHL13Ptr; -/********* - * Tools * - *********/ - /********* * Model * *********/ @@ -36,7 +30,8 @@ class WorkstationVMHL13Model : public WorkstationVMModel { public: WorkstationVMHL13Model(); ~WorkstationVMHL13Model(){}; - void createResource(const char *name, void *ind_phys_workstation); + + WorkstationVMPtr createWorkstationVM(const char *name, surf_resource_t ind_phys_workstation); double shareResources(double now); void adjustWeightOfDummyCpuActions() {}; ActionPtr communicate(WorkstationPtr src, WorkstationPtr dst, double size, double rate);