X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea74f5d95928a521a588737e81f1de94eef25d19..254b8e7fba5ec179bda920bfb0d8fa55d2a710b8:/src/surf/surf_interface.hpp diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index 2cdc8f4210..7907a68afc 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2023. 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. */ @@ -22,18 +22,12 @@ /********* * Utils * *********/ -XBT_PRIVATE FILE* surf_fopen(const std::string& name, const char* mode); -XBT_PRIVATE std::ifstream* surf_ifsopen(const std::string& name); /* user-visible parameters */ XBT_PUBLIC_DATA double sg_maxmin_precision; XBT_PUBLIC_DATA double sg_surf_precision; XBT_PUBLIC_DATA int sg_concurrency_limit; -extern XBT_PRIVATE double sg_latency_factor; -extern XBT_PRIVATE double sg_bandwidth_factor; -extern XBT_PRIVATE double sg_weight_S_parameter; -extern XBT_PRIVATE std::vector surf_path; extern XBT_PRIVATE std::unordered_map traces_set_list; /** set of hosts for which one want to be notified if they ever restart */ @@ -78,6 +72,8 @@ static inline int double_equals(double value1, double value2, double precision) */ XBT_PUBLIC void surf_cpu_model_init_Cas01(); +XBT_PUBLIC void surf_disk_model_init_S19(); + /** @ingroup SURF_models * @brief Same as network model 'LagrangeVelho', only with different correction factors. * @@ -87,9 +83,6 @@ XBT_PUBLIC void surf_cpu_model_init_Cas01(); * * @see surf_host_model_init_SMPI() */ -#if !HAVE_SMPI -XBT_ATTRIB_NORETURN -#endif XBT_PUBLIC void surf_network_model_init_SMPI(); /** @ingroup SURF_models @@ -182,8 +175,6 @@ XBT_PUBLIC void surf_host_model_init_current_default(); */ XBT_PUBLIC void surf_host_model_init_ptask_L07(); -XBT_PUBLIC void surf_disk_model_init_default(); - /* -------------------- * Model Descriptions * -------------------- */