return *mounts_;
}
+ExecPtr Host::exec_async(double flops)
+{
+ return this_actor::exec_init(flops)->set_host(this);
+}
+
void Host::execute(double flops)
{
execute(flops, 1.0 /* priority */);
smx_actor_t process = SIMIX_process_self();
return (process == nullptr) ? nullptr : process->host_;
}
+
+double sg_host_load(sg_host_t host)
+{
+ return host->get_load();
+}
\ No newline at end of file