Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Constify pointer and reference local variables in src/bindings/.
[simgrid.git] / src / surf / network_smpi.hpp
index 01ff44d025d0101c614b80ad40a05cd0cc4659c2..2864fc10b7377d9d749bac8044390bf323488146 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2017. The SimGrid Team.
+/* Copyright (c) 2013-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -15,11 +15,11 @@ namespace resource {
 class XBT_PRIVATE NetworkSmpiModel : public NetworkCm02Model {
 public:
   NetworkSmpiModel();
-  ~NetworkSmpiModel();
+  ~NetworkSmpiModel() = default;
 
-  double latencyFactor(double size);
-  double bandwidthFactor(double size);
-  double bandwidthConstraint(double rate, double bound, double size);
+  double get_latency_factor(double size);
+  double get_bandwidth_factor(double size);
+  double get_bandwidth_constraint(double rate, double bound, double size);
 };
 } // namespace resource
 } // namespace kernel