XBT_PUBLIC(void) surf_parse_set_debug(int bdebug);
XBT_PUBLIC(int) surf_parse_lex_destroy(void);
+/* init host and bypass the parser*/
+XBT_PUBLIC(void) init_host_bypass(char* name,double power);
+
/* What is needed to bypass the parser. */
XBT_PUBLIC_DATA(int_f_void_t) surf_parse; /* Entry-point to the parser. Set this to your function. */
void STag_surfxml_host(void)
{
surfxml_call_cb_functions(STag_surfxml_host_cb_list);
+
}
void ETag_surfxml_host(void)
}
static void parse_host_foreach(void){
+
xbt_dynar_t names = NULL;
unsigned int cpt = 0;
char *name;
random_std_deviation);
xbt_dict_set(random_data_list, random_id, (void *) random, NULL);
}
+
+
+/* Init Host bypassing XML*/
+void init_host_bypass(char* name,double power)
+{
+ surf_cpu_im_init_bypass(name,power);
+}