00001
00002
00003
00004
00005
00006
00007 #ifndef _SST_GEN_H_
00008 #define _SST_GEN_H_
00009
00010 #include <stdio.h>
00011
00012
00013
00014 void sst_header(FILE *sstfile);
00015 void sst_footer(FILE *dotfile);
00016
00017 void sst_cpu_param(FILE *sstfile, char *freq, char *exec, int
00018 cpu_verbose, int cpu_debug, char *nic_lat);
00019
00020 void sst_router_param_start(FILE *sstfile, int num_ports);
00021 void sst_router_param_end(FILE *sstfile);
00022
00023 void sst_nic_param_start(FILE *sstfile, int nic_debug);
00024 void sst_param_entry(FILE *sstfile, char *key, char *value);
00025 void sst_nic_param_topology(FILE *sstfile);
00026 void sst_nic_param_end(FILE *sstfile, char *nic_cpu_lat, char *nic_net_lat);
00027
00028 void sst_body_end(FILE *sstfile);
00029 void sst_body_start(FILE *sstfile);
00030
00031 void sst_cpu_component(char *cpu_id, char *link_id, float weight, FILE *sstfile);
00032 void sst_nic_component(char *nic_id, char *cpu_link_id, char *net_link_id, float weight,
00033 int nic_rank, FILE *sstfile);
00034 void sst_router_component_start(char *id, float weight, char *cname, FILE *sstfile);
00035 void sst_router_component_end(FILE *sstfile);
00036 void sst_router_component_link(char *id, char *link_lat, char *link_name, FILE *sstfile);
00037
00038 void sst_nics(FILE *sstfile);
00039 void sst_routers(FILE *sstfile);
00040
00041 #endif