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
snake_case LinkImpl (but the part that should to the engine)
[simgrid.git]
/
src
/
s4u
/
s4u_Host.cpp
diff --git
a/src/s4u/s4u_Host.cpp
b/src/s4u/s4u_Host.cpp
index
f345566
..
ba215f5
100644
(file)
--- a/
src/s4u/s4u_Host.cpp
+++ b/
src/s4u/s4u_Host.cpp
@@
-133,7
+133,7
@@
bool Host::is_on()
int Host::get_pstate_count() const
{
int Host::get_pstate_count() const
{
- return this->pimpl_cpu->get_pstate
s
_count();
+ return this->pimpl_cpu->get_pstate_count();
}
/**
}
/**
@@
-206,18
+206,18
@@
void Host::route_to(Host* dest, std::vector<kernel::resource::LinkImpl*>& links,
/** Get the properties assigned to a host */
std::map<std::string, std::string>* Host::getProperties()
{
/** Get the properties assigned to a host */
std::map<std::string, std::string>* Host::getProperties()
{
- return simgrid::simix::simcall([this] { return this->pimpl_->get
P
roperties(); });
+ return simgrid::simix::simcall([this] { return this->pimpl_->get
_p
roperties(); });
}
/** Retrieve the property value (or nullptr if not set) */
const char* Host::get_property(const char* key)
{
}
/** Retrieve the property value (or nullptr if not set) */
const char* Host::get_property(const char* key)
{
- return this->pimpl_->get
P
roperty(key);
+ return this->pimpl_->get
_p
roperty(key);
}
void Host::set_property(std::string key, std::string value)
{
}
void Host::set_property(std::string key, std::string value)
{
- simgrid::simix::simcall([this, key, value] { this->pimpl_->set
P
roperty(key, value); });
+ simgrid::simix::simcall([this, key, value] { this->pimpl_->set
_p
roperty(key, value); });
}
/** @brief Get the peak processor speed (in flops/s), at the specified pstate */
}
/** @brief Get the peak processor speed (in flops/s), at the specified pstate */
@@
-246,7
+246,7
@@
double Host::get_available_speed()
/** @brief Returns the number of core of the processor. */
int Host::get_core_count()
{
/** @brief Returns the number of core of the processor. */
int Host::get_core_count()
{
- return this->pimpl_cpu->get_core
s
_count();
+ return this->pimpl_cpu->get_core_count();
}
/** @brief Set the pstate at which the host should run */
}
/** @brief Set the pstate at which the host should run */