! output sort
$ $SG_TEST_EXENV ${bindir:=.}/masterslave_bypass --log=no_loc --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) Configuration change: Set 'cpu/model' to 'CpuTI'
-> [ 0.000000] (0:@) Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.
> [ 0.000000] (0:@) Switching workstation model to compound since you changed the network and/or cpu model(s)
+> [ 0.000000] (0:@) Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.
> [ 0.000000] (1:master@host A) Got 1 slave(s) :
> [ 0.000000] (1:master@host A) host B
> [ 0.000000] (1:master@host A) Got 20 task to process :
void **surf_workstation = NULL;
void **surf_link = NULL;
- // Reset callbacks
- surf_parse_reset_callbacks();
- // Add config callbacks
- surf_parse_add_callback_config();
-
parse_platform_file(platform_file);
- surf_config_models_create_elms();
/* now let's create the SD wrappers for workstations and links */
xbt_lib_foreach(host_lib, cursor, name, surf_workstation){
double start, end;
- // Reset callbacks
- surf_parse_reset_callbacks();
- // Add config callbacks
- surf_parse_add_callback_config();
-
- parse_platform_file(file);
- surf_config_models_create_elms();
-
start = xbt_os_time();
- /* FIXME: what time are we measuring ??? */
+ parse_platform_file(file);
end = xbt_os_time();
XBT_DEBUG("PARSE TIME: %lg", (end - start));
$ ${bindir:=.}/basic_parsing_test ./properties.xml --cfg=cpu/model:CpuTI
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu/model' to 'CpuTI'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '0.000010'
-> [0.000000] [surf_route/INFO] The custom configuration 'cpu/model' is already define by user!
+> [0.000000] [surf_route/INFO] The custom configuration 'cpu/model' is already defined by user!
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation/model' to 'compound'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'Vegas'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'path' to '~/'