* GOAL files as an input, thus the file name. But there is no actual link
* to the GOAL formalism beside of this.
*/
* GOAL files as an input, thus the file name. But there is no actual link
* to the GOAL formalism beside of this.
*/
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/xbt_os_time.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(goal, "The GOAL loader into SimDag");
typedef struct {
#include "xbt/xbt_os_time.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(goal, "The GOAL loader into SimDag");
typedef struct {
- int i, j, k;
-} s_bcast_task_t,*bcast_task_t;
-
-
-const SD_workstation_t* ws_list;
+ int i;
+ int j;
+ int k;
+} s_bcast_task_t;
+typedef s_bcast_task_t *bcast_task_t;
+const sg_host_t* ws_list;
int main(int argc, char **argv) {
xbt_os_timer_t timer = xbt_os_timer_new();
int main(int argc, char **argv) {
xbt_os_timer_t timer = xbt_os_timer_new();
} while(!xbt_dynar_is_empty(done));
xbt_os_cputimer_stop(timer);
printf("exec_time:%f\n", xbt_os_timer_elapsed(timer) );
} while(!xbt_dynar_is_empty(done));
xbt_os_cputimer_stop(timer);
printf("exec_time:%f\n", xbt_os_timer_elapsed(timer) );