X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/281f8c29e177852dcb1591fc31e363e1176857c8..3af9dcb5714db015a7038a58701b2b453f52c6ca:/src/surf/workstation.hpp diff --git a/src/surf/workstation.hpp b/src/surf/workstation.hpp index d3c18ad7a2..126757d4bf 100644 --- a/src/surf/workstation.hpp +++ b/src/surf/workstation.hpp @@ -52,6 +52,7 @@ public: double rate); virtual xbt_dynar_t getRoute(WorkstationCLM03Ptr src, WorkstationCLM03Ptr dst); virtual ActionPtr communicate(WorkstationCLM03Ptr src, WorkstationCLM03Ptr dst, double size, double rate); + CpuModelPtr p_cpuModel; }; /************ @@ -85,12 +86,12 @@ public: ActionPtr close(surf_file_t fd); int unlink(surf_file_t fd); ActionPtr ls(const char* mount, const char *path); - sg_storage_size_t getSize(surf_file_t fd); - ActionPtr read(surf_file_t fd, sg_storage_size_t size); - ActionPtr write(surf_file_t fd, sg_storage_size_t size); + sg_size_t getSize(surf_file_t fd); + ActionPtr read(surf_file_t fd, sg_size_t size); + ActionPtr write(surf_file_t fd, sg_size_t size); xbt_dynar_t getInfo( surf_file_t fd); - sg_storage_size_t getFreeSize(const char* name); - sg_storage_size_t getUsedSize(const char* name); + sg_size_t getFreeSize(const char* name); + sg_size_t getUsedSize(const char* name); bool isUsed(); //bool isShared();