Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
another bunch of new implicit conversions
[simgrid.git] / include / simgrid / s4u / Host.hpp
index 901b4f8..cd0797a 100644 (file)
@@ -97,7 +97,7 @@ public:
    * @param flops Execution size in flops
    * @return Multiply factor
    */
-  using CpuFactorCb = double(sg_size_t flops);
+  using CpuFactorCb = double(double flops);
   /**
    * @brief Configure the factor callback to the CPU associated to this host
    */
@@ -187,10 +187,10 @@ public:
    */
   double get_load() const;
 
-  int get_pstate_count() const;
+  unsigned long get_pstate_count() const;
   int get_pstate() const;
-  double get_pstate_speed(int pstate_index) const;
-  Host* set_pstate(int pstate_index);
+  double get_pstate_speed(unsigned long pstate_index) const;
+  Host* set_pstate(unsigned long pstate_index);
   Host* set_coordinates(const std::string& coords);
 
   std::vector<Disk*> get_disks() const;