X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54e35ebda7e4ffacd769653b8ebb8ba93c7298bf..a34d8237b8267686bbd259670f27da273ff5236e:/src/surf/host_clm03.hpp?ds=sidebyside diff --git a/src/surf/host_clm03.hpp b/src/surf/host_clm03.hpp index 3a935eb0a9..e2d27bb70b 100644 --- a/src/surf/host_clm03.hpp +++ b/src/surf/host_clm03.hpp @@ -1,9 +1,11 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* 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 + #include "storage_interface.hpp" #include "cpu_interface.hpp" #include "host_interface.hpp" @@ -16,9 +18,9 @@ * Classes * ***********/ -class HostCLM03Model; -class HostCLM03; -class HostCLM03Action; +class XBT_PRIVATE HostCLM03Model; +class XBT_PRIVATE HostCLM03; +class XBT_PRIVATE HostCLM03Action; /********* * Model * @@ -26,19 +28,18 @@ class HostCLM03Action; class HostCLM03Model : public HostModel { public: - HostCLM03Model(); - ~HostCLM03Model(); + HostCLM03Model(): HostModel(){} + ~HostCLM03Model() {} Host *createHost(const char *name); double shareResources(double now); void updateActionsState(double now, double delta); Action *executeParallelTask(int host_nb, - void **host_list, - double *flops_amount, - double *bytes_amount, - double rate); - Action *communicate(Host *src, Host *dst, double size, double rate); + sg_host_t *host_list, + double *flops_amount, + double *bytes_amount, + double rate); }; /************ @@ -58,10 +59,6 @@ public: bool isUsed(); xbt_dynar_t getVms(); - - /* common with vm */ - void getParams(ws_params_t params); - void setParams(ws_params_t params); };