Lines Matching refs:config
52 # NOTE: this is NOT the gem5 config.ini file.
54 # <gem5 run folder>: Path to gem5 run folder (must contain config.ini,
88 util/streamline. NOTE: this is NOT the gem5 config.ini \
92 help="Path to gem5 run folder (must contain config.ini, \
131 # Parse gem5 config.ini file to determine some system configurations.
137 print "Parsing gem5 config.ini file..."
140 config = ConfigParser()
141 if not config.read(config_file):
142 print "ERROR: config file '", config_file, "' not found"
145 if config.has_section("system.cpu"):
149 while config.has_section("system.cpu" + str(num_cpus)):
152 if config.has_section("system.l2_cache"):
156 while config.has_section("system.l2_cache" + str(num_l2)):
814 print "Parsing stats config.ini file..."
818 config = ConfigParser()
819 if not config.read(config_file):
820 print "ERROR: config file '", config_file, "' not found!"
827 per_cpu_stat_groups = config.options('PER_CPU_STATS')
830 per_cpu_stats_list = config.get('PER_CPU_STATS', group).split('\n')
836 per_l2_stat_groups = config.options('PER_L2_STATS')
839 per_l2_stats_list = config.get('PER_L2_STATS', group).split('\n')
850 other_stat_groups = config.options('OTHER_STATS')
853 other_stats_list = config.get('OTHER_STATS', group).split('\n')
1215 (num_cpus, num_l2) = parseConfig(input_path + "/config.ini")
1223 # Parse stat config file and register stats