Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename some methods of s4u::Host
[simgrid.git] / teshsuite / simdag / flatifier / flatifier.cpp
index bf94475..4a68e5e 100644 (file)
@@ -93,8 +93,8 @@ int main(int argc, char **argv)
     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");