A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another bunch of new implicit conversions
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Host.hpp
diff --git
a/include/simgrid/s4u/Host.hpp
b/include/simgrid/s4u/Host.hpp
index
901b4f8
..
cd0797a
100644
(file)
--- a/
include/simgrid/s4u/Host.hpp
+++ b/
include/simgrid/s4u/Host.hpp
@@
-97,7
+97,7
@@
public:
* @param flops Execution size in flops
* @return Multiply factor
*/
* @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
*/
/**
* @brief Configure the factor callback to the CPU associated to this host
*/
@@
-187,10
+187,10
@@
public:
*/
double get_load() const;
*/
double get_load() const;
-
int
get_pstate_count() const;
+
unsigned long
get_pstate_count() const;
int get_pstate() 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;
Host* set_coordinates(const std::string& coords);
std::vector<Disk*> get_disks() const;