#include <stdio.h>
#include <stdlib.h>
#include "simdag/simdag.h"
+#include "surf/surf_private.h"
+
+extern routing_global_t global_routing;
int main(int argc, char **argv)
{
printf("Route latency = %f, route bandwidth = %f\n",
SD_route_get_current_latency(w1, w2),
SD_route_get_current_bandwidth(w1, w2));
+
+ printf("%s is router : %d\n",name1,global_routing->is_router(name1));
}
if(!strcmp(argv[2],"FULL_LINK"))
{