for (i = 0; i < totalHosts; i++) {
printf(" <host id=\"%s\" speed=\"%.0f\"", sg_host_get_name(hosts[i]), sg_host_speed(hosts[i]));
props = sg_host_get_properties(hosts[i]);
- if (hosts[i]->core_count()>1) {
- printf(" core=\"%d\"", hosts[i]->core_count());
+ if (hosts[i]->coresCount()>1) {
+ printf(" core=\"%d\"", hosts[i]->coresCount());
}
if (props && !xbt_dict_is_empty(props)) {
printf(">\n");