/gem5/configs/example/ |
H A D | garnet_synth_traffic.py | 36 import os, optparse, sys 44 config_path = os.path.dirname(os.path.abspath(__file__)) 45 config_root = os.path.dirname(config_path) 46 m5_root = os.path.dirname(config_root)
|
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-spec-builders.h | 166 ::std::ostream* os) const 183 ::std::ostream* os) const = 0; 705 void DescribeLocationTo(::std::ostream* os) const { 706 *os << FormatFileLocation(file(), line()) << " "; 711 void DescribeCallCountTo(::std::ostream* os) const 716 virtual void MaybeDescribeExtraMatcherTo(::std::ostream* os) = 0; 1062 virtual void MaybeDescribeExtraMatcherTo(::std::ostream* os) { 1064 *os << " Expected args: "; 1065 extra_matcher_.DescribeTo(os); 1066 *os << "\ [all...] |
/gem5/ext/testlib/ |
H A D | result.py | 29 import os 70 self.stderr = os.path.join( 74 self.stdout = os.path.join( 148 return os.path.join( 150 str(suite_uid).replace(os.path.sep, '-'), 151 str(test_uid).replace(os.path.sep, '-')) 155 if not os.path.exists(os.path.dirname(path)): 157 os.makedirs(os [all...] |
H A D | helper.py | 36 import os 246 return os.path.dirname(os.path.abspath(path)) 248 joinpath = os.path.join 257 os.makedirs(path) 259 if exc.errno == errno.EEXIST and os.path.isdir(path): 388 st = os.stat(target) 390 os.chown(target, st[stat.ST_UID], st[stat.ST_GID]) 411 if not os.path.exists(ref_file): 414 if not os [all...] |
/gem5/tests/gem5/ |
H A D | fixture.py | 42 import os 229 def __init__(self, program, isa, os, recompile=False): 232 target = joinpath('bin', isa, os, program) 242 elif not os.path.exists(self.path): 272 if not os.path.exists(self.path): 274 os.makedirs(self.path) 291 if not os.path.exists(self.filename): 301 if t > os.path.getmtime(self.filename): 316 if not os.path.exists(self.filename): 327 if t > os [all...] |
/gem5/src/systemc/ext/channel/ |
H A D | sc_signal.hh | 216 virtual void print(std::ostream &os=std::cout) const { os << m_cur_val; } 218 dump(std::ostream &os=std::cout) const 220 os << " name = " << this->name() << ::std::endl; 221 os << " value = " << m_cur_val << ::std::endl; 222 os << "new value = " << m_new_val << ::std::endl; 319 operator << (std::ostream &os, const sc_signal<T, WRITER_POLICY> &s) argument 321 os << s.read(); 322 return os;
|
/gem5/src/base/ |
H A D | pixel.hh | 225 operator<<(std::ostream &os, const Pixel &pxl) argument 227 os << csprintf("%#.08x", PixelConverter::rgba8888_le.fromPixel(pxl)); 228 return os;
|
H A D | cp_annotate.cc | 1072 arrayParamOut(os, "numSt", numSt); 1073 arrayParamOut(os, "numQ", numQ); 1077 arrayParamOut(os, "qSize", qSize); 1078 arrayParamOut(os, "qSize", qSize); 1079 arrayParamOut(os, "qBytes", qBytes); 1089 paramOut(os, csprintf("smtCache%d.str", x), i->first); 1090 paramOut(os, csprintf("smtCache%d.int", x), i->second); 1099 paramOut(os, csprintf("stCache%d_%d.str", x, y), i->first); 1100 paramOut(os, csprintf("stCache%d_%d.int", x, y), i->second); 1111 paramOut(os, csprint [all...] |
/gem5/ext/ply/example/newclasscalc/ |
H A D | calc.py | 22 import os 36 modname = os.path.split(os.path.splitext(__file__)[0])[1] + "_" + self.__class__.__name__
|
/gem5/ext/ply/example/classcalc/ |
H A D | calc.py | 20 import os 33 modname = os.path.split(os.path.splitext(__file__)[0])[1] + "_" + self.__class__.__name__
|
/gem5/util/ |
H A D | style.py | 40 import os 59 base = os.path.join(os.path.dirname(__file__), "..")
|
H A D | git-pre-commit.py | 41 import os 65 os.chdir(repo_base)
|
H A D | qdo | 41 import os 48 progname = os.path.basename(sys.argv[0]) 80 cwd = os.getcwd() 192 output_dir = os.path.dirname(cmd[cmd.index('-o')+1]) 233 log = file('qdo-log.' + str(os.getpid()), 'w')
|
/gem5/configs/learning_gem5/part1/ |
H A D | two_level.py | 71 thispath = os.path.dirname(os.path.realpath(__file__)) 72 binary = os.path.join(thispath, '../../../',
|
/gem5/src/cpu/minor/ |
H A D | lsq.cc | 178 LSQ::LSQRequest::reportData(std::ostream &os) const 180 os << (isLoad ? 'R' : 'W') << ';'; 181 inst->reportData(os); 182 os << ';' << state; 186 operator <<(std::ostream &os, LSQ::AddrRangeCoverage coverage) argument 190 os << "PartialAddrRangeCoverage"; 193 os << "FullAddrRangeCoverage"; 196 os << "NoAddrRangeCoverage"; 199 os << "AddrRangeCoverage-" << static_cast<int>(coverage); 202 return os; 206 operator <<(std::ostream &os, LSQ::LSQRequest::LSQRequestState state) argument 934 std::ostringstream os; local 1728 operator <<(std::ostream &os, LSQ::MemoryState state) argument [all...] |
/gem5/util/tlm/conf/ |
H A D | tlm_master.py | 38 import os
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/aggregate/ |
H A D | rgb.h | 50 friend ostream& operator<<(ostream& os, struct rgb_t &r);
|
/gem5/src/arch/power/insts/ |
H A D | static_inst.hh | 62 printReg(std::ostream &os, RegId reg) const;
|
/gem5/configs/example/arm/ |
H A D | starter_fs.py | 49 import os 97 if args.script and not os.path.isfile(args.script): 188 cpt_dir = os.path.join(m5.options.outdir, "cpt.%d" % m5.curTick()) 189 m5.checkpoint(os.path.join(cpt_dir))
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_break_on_failure_unittest.py | 44 import os 50 IS_WINDOWS = os.name == 'nt'
|
/gem5/ext/googletest/googletest/scripts/ |
H A D | gen_gtest_pred_impl.py | 51 import os 56 SCRIPT_DIR = os.path.dirname(sys.argv[0]) 59 HEADER = os.path.join(SCRIPT_DIR, '../include/gtest/gtest_pred_impl.h') 62 UNIT_TEST = os.path.join(SCRIPT_DIR, '../test/gtest_pred_impl_unittest.cc') 76 'command' : '%s %s' % (os.path.basename(sys.argv[0]), n), 332 'command' : '%s %s' % (os.path.basename(sys.argv[0]), sys.argv[1]), 404 std::ostream& operator<<(std::ostream& os, const Bool& x) { 405 return os << (x.value ? "true" : "false");
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxval.cpp | 132 sc_fxval::print( ::std::ostream& os ) const 134 m_rep->print( os ); 146 sc_fxval::dump( ::std::ostream& os ) const 148 os << "sc_fxval" << ::std::endl; 149 os << "(" << ::std::endl; 150 os << "rep = "; 151 m_rep->dump( os ); 153 // os << "r_flag = " << m_r_flag << ::std::endl; 154 // os << "observer = "; 156 // m_observer->dump( os ); [all...] |
/gem5/src/systemc/dt/fx/ |
H A D | sc_fxval.cc | 131 void sc_fxval::print(::std::ostream &os) const { m_rep->print(os); } 142 sc_fxval::dump(::std::ostream &os) const 144 os << "sc_fxval" << ::std::endl; 145 os << "(" << ::std::endl; 146 os << "rep = "; 147 m_rep->dump(os); 149 // os << "r_flag = " << m_r_flag << ::std::endl; 150 // os << "observer = "; 152 // m_observer->dump(os); [all...] |
/gem5/src/mem/cache/ |
H A D | mshr.cc | 226 MSHR::TargetList::print(std::ostream &os, int verbosity, argument 245 ccprintf(os, "%s%s: ", prefix, s); 246 t.pkt->print(os, verbosity, ""); 247 ccprintf(os, "\n"); 659 MSHR::print(std::ostream &os, int verbosity, const std::string &prefix) const argument 661 ccprintf(os, "%s[%#llx:%#llx](%s) %s %s %s state: %s %s %s %s %s %s\n", 675 ccprintf(os, "%s Targets:\n", prefix); 676 targets.print(os, verbosity, prefix + " "); 679 ccprintf(os, "%s Deferred Targets:\n", prefix); 680 deferredTargets.print(os, verbosit [all...] |
/gem5/src/arch/generic/ |
H A D | vec_reg.hh | 241 operator<<(std::ostream& os, const MyClass& vr) argument 244 os << "[" << std::hex << (uint32_t)vr[0]; 246 os << " " << std::hex << (uint32_t)vr[e]; 247 os << ']'; 248 return os; 416 friend std::ostream& operator<<(std::ostream& os, const MyClass& v) argument 419 os << csprintf("%02x", b); 421 return os; 496 operator<<(std::ostream& os, const LaneData<LS>& d) argument 498 return os << static_cas [all...] |