Fix 'Move sg_host_surfcpu_register() out of createCpu()'
CpuConstant res = new CpuConstant(this, name, cpu_properties, core, power_peak[pstate], power_scale);
cpus.add(res);
CpuConstant res = new CpuConstant(this, name, cpu_properties, core, power_peak[pstate], power_scale);
cpus.add(res);
- Surf.setCpu(name, res);
}
void setCpu(char *name, simgrid::surf::Cpu *cpu) {
}
void setCpu(char *name, simgrid::surf::Cpu *cpu) {
- sg_host_surfcpu_set(sg_host_by_name(name), cpu);
+ // No-op here for compatibility with previous versions
}
LinkDynar getRoute(char *srcName, char *dstName) {
}
LinkDynar getRoute(char *srcName, char *dstName) {