/gem5/ext/ply/example/BASIC/ |
H A D | basic.py | 51 stat = prog[keys[0]] variable 52 if stat[0] == 'RUN': 57 elif stat[0] == 'LIST': 59 elif stat[0] == 'BLANK': 60 b.del_line(stat[1]) 61 elif stat[0] == 'NEW':
|
H A D | basiclog.py | 59 stat = prog[keys[0]] variable 60 if stat[0] == 'RUN': 65 elif stat[0] == 'LIST': 67 elif stat[0] == 'BLANK': 68 b.del_line(stat[1]) 69 elif stat[0] == 'NEW':
|
H A D | basinterp.py | 31 for lineno in self.stat: 39 for lineno in self.stat: 52 for pc in range(len(self.stat)): 53 lineno = self.stat[pc] 57 for i in range(pc+1,len(self.stat)): 58 if self.prog[self.stat[i]][0] == 'NEXT': 59 nextvar = self.prog[self.stat[i]][1] 64 print("FOR WITHOUT NEXT AT LINE %s" % self.stat[pc]) 86 print("UNDEFINED VARIABLE %s AT LINE %s" % (var, self.stat[self.pc])) 98 print("LIST INDEX OUT OF BOUNDS AT LINE %s" % self.stat[sel [all...] |
H A D | basparse.py | 25 line,stat = p[1] 26 p[0][line] = stat 31 line,stat = p[2] 32 p[0][line] = stat
|
/gem5/util/cxx_config/ |
H A D | stats.cc | 75 Stats::Info *stat = *i; local 77 Stats::ScalarInfo *scalar = dynamic_cast<Stats::ScalarInfo *>(stat); 78 Stats::VectorInfo *vector = dynamic_cast<Stats::VectorInfo *>(stat); 81 std::cerr << "SCALAR " << stat->name << ' ' 88 std::cerr << "VECTOR " << stat->name << '[' << index 92 std::cerr << "VTOTAL " << stat->name << ' ' 95 std::cerr << "?????? " << stat->name << '\n';
|
/gem5/util/systemc/gem5_within_systemc/ |
H A D | stats.cc | 64 Stats::Info *stat = *i; local 65 Stats::VectorInfo *vector = dynamic_cast<Stats::VectorInfo *>(stat); 91 Stats::Info *stat = *i; local 94 *>(stat); 95 Stats::VectorInfo *vector = dynamic_cast<Stats::VectorInfo *>(stat); 98 const Stats::DistInfo *dist = dynamic_cast<Stats::DistInfo *>(stat); 100 dynamic_cast<Stats::VectorDistInfo *>(stat); 102 dynamic_cast<Stats::SparseHistInfo *>(stat); 105 <Stats::Vector2d,Stats::Vector2dInfo>*>(stat); 129 warn("Stat not dumped: %s\n", stat 147 Stats::Info *stat = *i; local [all...] |
/gem5/util/stats/ |
H A D | db.py | 55 self.stat = int(row[0]) 64 raise 'stat db error' 65 self.stat = int(row[0]) 72 return '''Data(['%d', '%d', '%d', '%d', '%f'])''' % ( self.stat, 77 self.stat = int(row[0]) 100 self.formula = self.db.allFormulas[self.stat] 152 def get(self, job, stat, system=None): 162 stat.system = self[system] 164 if scalar(stat): 165 return value(stat, ru [all...] |
H A D | stats.py | 46 stat <regex> Show stat data (only matching regex) 178 for stat in stats: 179 print "%s:" % stat.name 196 if value(stat, run.run) == 1e300*1e300: 206 avg += value(stat, run.run) 210 val = value(stat, run.run) 215 val = value(stat, run.run) 257 if command == 'stat' or command == 'formula': 261 if command == 'stat' [all...] |
H A D | info.py | 41 def scalar(stat): 42 stat = unproxy(stat) 43 assert(stat.__scalar__() != stat.__vector__()) 44 return stat.__scalar__() 46 def vector(stat): 47 stat = unproxy(stat) 48 assert(stat [all...] |
H A D | output.py | 32 def __init__(self, jobfile, info, stat=None): 35 self.stat = stat 50 value = self.info.get(job, self.stat) 125 val = self.info.get(job, self.stat) 127 print 'stat "%s" for job "%s" not found' % \ 128 (self.stat, job)
|
/gem5/tests/ |
H A D | diff-out | 130 $stat = 'memory usage'; 143 ($stat, $value) = /^(\S+)\s+(.*)/; 145 ($stat, $value) = 147 $stat = $in_dist . '::' . $stat; 155 $stat = $1; 159 ($stat, $value) = /^(\S+)\s+(.*)/; 163 $$hashref{$stat} = $value; 220 foreach $stat (sort keys %$refhash) 222 $refvalue = $$refhash{$stat}; [all...] |
/gem5/src/python/m5/stats/ |
H A D | __init__.py | 59 # Dictionary of stat visitor factories populated by the _url_factory 126 fatal("Illegal stat visitor parameter specified") 140 Text stat files contain one stat per line with an optional 145 * desc (bool): Output stat descriptions (default: True) 159 the multiple benefits over traditional text stat files: 161 * Efficient storage of time series (multiple stat dumps) 169 * Large startup cost (single stat dump larger than text equivalent) 180 * desc (bool): Output stat descriptions (default: True) 191 """Add a stat visito [all...] |
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_premature_exit_test.cc | 51 StatStruct stat; local 52 return Stat(filepath, &stat) == 0;
|
/gem5/util/m5/ |
H A D | m5_mmap.c | 47 #include <sys/stat.h>
|
/gem5/ext/mcpat/ |
H A D | main.cc | 32 #include <sys/stat.h> 70 struct stat file_info; 71 if (stat(xml_file, &file_info)) {
|
H A D | basic_components.cc | 237 void McPATComponent::warnUnrecognizedStat(XMLCSTR stat) { argument 239 name.c_str(), stat);
|
H A D | basic_components.h | 253 void warnUnrecognizedStat(XMLCSTR stat);
|
/gem5/util/streamline/ |
H A D | m5stats2streamline.py | 732 # Regex for this stat (string version used to construct union regex) 737 # Whether this stat is use per CPU or not 743 # List of values of stat per timestamp 746 # Whether this stat has been found for the current timestamp 749 # Whether this stat has been found at least once 753 # Field used to hold ElementTree subelement for this stat 756 # Create per-CPU stat name and regex, etc. 793 print "registering stat:", name, "group:", group, group_index 927 for stat in stats.stats_list: 928 if stat [all...] |
/gem5/src/base/ |
H A D | statistics.hh | 103 InfoProxy(Stat &stat) : s(stat) {} argument 120 ScalarInfoProxy(Stat &stat) : InfoProxy<Stat, ScalarInfo>(stat) {} argument 135 VectorInfoProxy(Stat &stat) : InfoProxy<Stat, VectorInfo>(stat) {} argument 160 DistInfoProxy(Stat &stat) : InfoProxy<Stat, DistInfo>(stat) {} argument 167 VectorDistInfoProxy(Stat &stat) : InfoProxy<Stat, VectorDistInfo>(stat) {} argument 176 Vector2dInfoProxy(Stat &stat) argument [all...] |
H A D | output.cc | 50 #include <sys/stat.h> 273 struct stat st_buf; 274 int st = stat(name.c_str(), &st_buf);
|
/gem5/ext/libelf/ |
H A D | elf_begin.c | 31 #include <sys/stat.h> 44 struct stat sb;
|
/gem5/ext/pybind11/docs/ |
H A D | benchmark.py | 86 size = os.stat('test.so').st_size
|
/gem5/ext/testlib/ |
H A D | helper.py | 40 import stat 388 st = os.stat(target) 390 os.chown(target, st[stat.ST_UID], st[stat.ST_GID])
|
/gem5/tests/test-progs/insttest/src/riscv/ |
H A D | rv64i.cpp | 32 #include <sys/stat.h> 258 struct stat stat_buf, fstat_buf; 259 int s = stat(fname, &stat_buf); 263 cout << "stat:" << endl; 294 }, "open, stat");
|
/gem5/configs/common/ |
H A D | FileSystemConfig.py | 36 from os import mkdir, makedirs, getpid, listdir, stat, access 66 - /proc/stat simply lists all CPUs 119 file_append((procdir, 'stat'), 'cpu 0 0 0 0 0 0 0\n') 121 file_append((procdir, 'stat'), 'cpu%d 0 0 0 0 0 0 0\n' % i)
|