- double s = xbt_os_time();
- if (!parsed) parse_platform_file(file);
- double e = xbt_os_time();
- INFO1("PARSE TIME: %lg", (e-s));
+ if (!parsed) {
+ double e ;
+ double s = xbt_os_time();
+ parse_platform_file(file);
+ if (surf_workstation_model_description[workstation_id].create_ws != NULL)
+ surf_workstation_model_description[workstation_id].create_ws();
+ e = xbt_os_time();
+ DEBUG1("PARSE TIME: %lg", (e-s));
+ }