#include <simgrid/kernel/routing/NetZoneImpl.hpp>
#include <simgrid/s4u/Engine.hpp>
-#include "simgrid/sg_config.hpp"
#include "src/kernel/EngineImpl.hpp"
#include "src/kernel/resource/NetworkModel.hpp"
#include "src/kernel/resource/models/host_clm03.hpp"
#include "src/simgrid/module.hpp"
+#include "src/simgrid/sg_config.hpp"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(res_host);
Action* HostCLM03Model::io_stream(s4u::Host* src_host, DiskImpl* src_disk, s4u::Host* dst_host, DiskImpl* dst_disk,
double size)
{
- auto net_model = src_host->get_englobing_zone()->get_network_model();
- auto system = net_model->get_maxmin_system();
+ auto* net_model = src_host->get_englobing_zone()->get_network_model();
+ auto* system = net_model->get_maxmin_system();
auto* action = net_model->communicate(src_host, dst_host, size, -1, true);
// We don't want to apply the network model bandwidth factor to the I/O constraints
Action* HostCLM03Model::execute_thread(const s4u::Host* host, double flops_amount, int thread_count)
{
- auto cpu = host->get_cpu();
+ auto* cpu = host->get_cpu();
/* Create a single action whose cost is thread_count * flops_amount and that requests thread_count cores. */
return cpu->execution_start(thread_count * flops_amount, thread_count, -1);
}