◆ HostLoad() [1/4]
◆ ~HostLoad()
simgrid::plugin::HostLoad::~HostLoad |
( |
| ) |
|
|
default |
◆ HostLoad() [2/4]
simgrid::plugin::HostLoad::HostLoad |
( |
| ) |
|
|
delete |
◆ HostLoad() [3/4]
◆ HostLoad() [4/4]
◆ get_current_load()
double simgrid::plugin::HostLoad::get_current_load |
( |
| ) |
|
WARNING: This function does not guarantee that you have the real load at any time imagine all actions on your CPU terminate at time t.
Your load is then 0. Then you query the load (still 0) and then another action starts (still at time t!). This means that the load was never really 0 (because the time didn't advance) but it will still be reported as 0.
So, use at your own risk.
◆ get_average_load()
double simgrid::plugin::HostLoad::get_average_load |
( |
| ) |
|
|
inline |
◆ get_computed_flops()
double simgrid::plugin::HostLoad::get_computed_flops |
( |
| ) |
|
|
inline |
◆ get_idle_time()
double simgrid::plugin::HostLoad::get_idle_time |
( |
| ) |
|
|
inline |
◆ get_total_idle_time()
double simgrid::plugin::HostLoad::get_total_idle_time |
( |
| ) |
|
|
inline |
Return idle time since last reset.
◆ update()
void simgrid::plugin::HostLoad::update |
( |
| ) |
|
Return idle time over the whole simulation.
◆ add_activity()
void simgrid::plugin::HostLoad::add_activity |
( |
simgrid::kernel::activity::ExecImplPtr |
activity | ) |
|
◆ reset()
void simgrid::plugin::HostLoad::reset |
( |
| ) |
|
◆ EXTENSION_ID
The documentation for this class was generated from the following file: