The modification of the N11 storage model uses a rounding method so
that entire numbers of bytes are written at each action update. This
causes a slight difference of 30 nanoseconds in the total execution
time of the example. Assume that we can leave with that and just print
time up to the millisecond. Moreover this model is going to change
again soon.
xbt_dynar_free(&hosts);
int res = MSG_main();
- XBT_INFO("Simulation time %g", MSG_get_clock());
+ XBT_INFO("Simulation time %.6f", MSG_get_clock());
return res != MSG_OK;
}
> [ 0.008326] (3:host@carl) Have written 110000 in '/home/doc/simgrid/examples/platforms/g5k_cabinets.xml'. Size now is: 110000
> [ 0.008326] (3:host@carl) Capacity of the storage element '/home/doc/simgrid/examples/platforms/g5k_cabinets.xml' is stored on: 37020686 / 536870912000
> [ 0.008326] (3:host@carl) Close file '/home/doc/simgrid/examples/platforms/g5k_cabinets.xml'
-> [ 0.008326] (0:maestro@) Simulation time 0.00832645
+> [ 0.008326] (0:maestro@) Simulation time 0.008326