#include <stdio.h>
static int trace_fun(
int argc,
char *
argv[])
{
for (int i = 0; i < 10; i++) {
}
for (int i = 0; i < 10; i++) {
}
return 0;
}
int main(
int argc,
char *argv[])
{
xbt_assert(argc > 2,
"Usage: %s platform_file deployment_file\n" "\tExample: %s msg_platform.xml msg_deployment.xml\n", argv[0], argv[0]);
unsigned int cursor;
char *variable;
if (host_variables){
}
}
if (link_variables){
}
}
FILE *fp = fopen ("viva_graph.plist", "w");
if (fp == NULL){
return 1;
}
fprintf (fp, "{\n node = (");
if (nodes_type){
char *node_type;
fprintf (fp, "%s, ", node_type);
}
}
fprintf (fp, ");\n edge = (");
if (edges_type){
char *edge_type;
fprintf (fp, "%s, ", edge_type);
}
}
fprintf (fp, ");\n");
fprintf (fp, " host = {\n type = square;\n size = HDD_capacity; \n values = (HDD_utilization);\n };\n");
fprintf (fp, " link = {\n type = rhombus;\n size = bandwidth;\n };\n");
fprintf (fp, "}\n");
fclose (fp);
return 0;
}