Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reactivate broken tests
[simgrid.git] / examples / s4u / actor-yield / s4u-actor-yield.cpp
index 982bf18..bd80f70 100644 (file)
@@ -36,10 +36,10 @@ int main(int argc, char* argv[])
                        "\tExample: %s platform.xml deployment.xml\n",
              argv[0], argv[0]);
 
-  e.loadPlatform(argv[1]); /* - Load the platform description */
-  e.registerFunction<yielder>("yielder");
+  e.load_platform(argv[1]);             /* Load the platform description */
+  e.register_actor<yielder>("yielder"); /* Register the class representing the actors */
 
-  e.loadDeployment(argv[2]);
+  e.load_deployment(argv[2]);
 
   e.run(); /* - Run the simulation */