Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill some dead code
[simgrid.git] / teshsuite / simdag / flatifier / flatifier.cpp
index e4e48f5..730e2aa 100644 (file)
@@ -98,8 +98,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 (sg_host_core_count(hosts[i])>1) {
-        printf(" core=\"%d\"", sg_host_core_count(hosts[i]));
+      if (hosts[i]->core_count()>1) {
+        printf(" core=\"%d\"", hosts[i]->core_count());
       }
       if (props && !xbt_dict_is_empty(props)) {
         printf(">\n");