Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use correct type for variables, and avoid loosing precision.
[simgrid.git] / src / smpi / include / smpi_config.hpp
1 /* Copyright (c) 2018-2020. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SMPI_CONFIG_HPP
7 #define SMPI_CONFIG_HPP
8
9 #include "src/internal_config.h" // HAVE_PAPI
10 #include <xbt/config.hpp>
11
12 XBT_PRIVATE void smpi_check_options();
13 /********************************** Configuration of SMPI **************************************/
14 extern XBT_PRIVATE simgrid::config::Flag<std::string> _smpi_cfg_host_speed_string;
15 extern XBT_PRIVATE simgrid::config::Flag<bool> _smpi_cfg_simulate_computation;
16 extern XBT_PRIVATE simgrid::config::Flag<std::string> _smpi_cfg_shared_malloc_string;
17 extern XBT_PRIVATE simgrid::config::Flag<double> _smpi_cfg_cpu_thresh;
18 extern XBT_PRIVATE simgrid::config::Flag<std::string> _smpi_cfg_privatization_string;
19 extern XBT_PRIVATE simgrid::config::Flag<int> _smpi_cfg_async_small_thresh;
20 extern XBT_PRIVATE simgrid::config::Flag<int> _smpi_cfg_detached_send_thresh;
21 extern XBT_PRIVATE simgrid::config::Flag<bool> _smpi_cfg_grow_injected_times;
22 extern XBT_PRIVATE simgrid::config::Flag<double> _smpi_cfg_iprobe_cpu_usage;
23 extern XBT_PRIVATE simgrid::config::Flag<bool> _smpi_cfg_trace_call_use_absolute_path;
24 extern XBT_PRIVATE simgrid::config::Flag<bool> _smpi_cfg_trace_call_location;
25 extern XBT_PRIVATE simgrid::config::Flag<std::string> _smpi_cfg_comp_adjustment_file;
26 #if HAVE_PAPI
27 extern XBT_PRIVATE simgrid::config::Flag<std::string> _smpi_cfg_papi_events_file;
28 #endif
29 extern XBT_PRIVATE simgrid::config::Flag<double> _smpi_cfg_auto_shared_malloc_thresh;
30 #endif