• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/core/techModels/libHotSpot/hotspot.h

00001 #ifndef __HOTSPOT_H_
00002 #define __HOTSPOT_H_
00003 
00004 #include "util.h"
00005 
00006 /* global configuration parameters for HotSpot  */
00007 typedef struct global_config_t_st
00008 {
00009         /* floorplan input file */
00010         char flp_file[STR_SIZE];
00011         /* input power trace file */
00012         char p_infile[STR_SIZE];
00013         /* output file for the temperature trace */
00014         char t_outfile[STR_SIZE];
00015         /* input configuration parameters from file     */
00016         char config[STR_SIZE];
00017         /* output configuration parameters to file      */
00018         char dump_config[STR_SIZE];
00019 }global_config_t;
00020 
00021 /* 
00022  * parse a table of name-value string pairs and add the configuration
00023  * parameters to 'config'
00024  */
00025 void global_config_from_strs(global_config_t *config, str_pair *table, int size);
00026 /* 
00027  * convert config into a table of name-value pairs. returns the no.
00028  * of parameters converted
00029  */
00030 int global_config_to_strs(global_config_t *config, str_pair *table, int max_entries);
00031 
00032 #endif

Generated on Fri Oct 22 2010 11:02:14 for SST by  doxygen 1.7.1