/gem5/src/cpu/ |
H A D | profile.cc | 51 ostream &os) const 53 ccprintf(os, "%#x %s %d ", id, symbol, count); 57 ccprintf(os, "%#x ", (intptr_t)node); 60 ccprintf(os, "\n"); 75 node->dump(symbol, (intptr_t)node, symtab, os); 124 FunctionProfile::dump(ThreadContext *tc, ostream &os) const 126 ccprintf(os, ">>>PC data\n"); 134 ccprintf(os, "user %d\n", count); 136 ccprintf(os, "%s %d\n", symbol, count); 138 ccprintf(os, " [all...] |
/gem5/configs/common/ |
H A D | cpu2000.py | 32 import os 34 from os.path import basename, exists, join as joinpath, normpath 35 from os.path import isdir, isfile, islink 37 spec_dist = os.environ.get('M5_CPU2000', '/dist/m5/cpu2000') 47 os.mkdir(dstdir) 49 for root, dirs, files in os.walk(srcdir): 51 prefix = os.path.commonprefix([root, srcdir]) 60 os.mkdir(newdir) 73 os.symlink('.', inlink) 75 os [all...] |
/gem5/src/base/ |
H A D | printable.hh | 50 virtual void print(std::ostream &os,
|
/gem5/src/mem/ruby/common/ |
H A D | BoolVec.hh | 48 std::ostream& operator<<(std::ostream& os, const std::vector<bool>& myvector);
|
H A D | IntVec.hh | 44 std::ostream& operator<<(std::ostream& os, const std::vector<int>& myvector);
|
/gem5/tests/quick/se/04.gpu/ |
H A D | test.py | 39 kernel_path = os.path.dirname(executable) 40 kernel_files = glob.glob(os.path.join(kernel_path, '*.asm'))
|
/gem5/util/ |
H A D | checkpoint-tester.py | 67 import os, sys, re 80 if os.path.exists(options.directory): 86 os.mkdir(top_dir) 88 cmd_echo = open(os.path.join(top_dir, 'command'), 'w') 98 cptdir = os.path.join(top_dir, 'm5out') 103 dirs = os.listdir(cptdir) 119 mydir = os.path.join(top_dir, 'test.%d' % i) 124 diff_name = os.path.join(mydir, 'diffout')
|
H A D | minorview.py | 44 import os 49 minorviewDir = os.path.dirname(os.path.realpath(__file__)) 78 if args.picture and os.access(args.picture, os.O_RDONLY): 98 if args.eventFile and os.access(args.eventFile, os.O_RDONLY):
|
/gem5/tests/gem5/m5_util/ |
H A D | test_exit.py | 33 import os 51 config=os.path.join(config.base_dir, 'configs', 'example','se.py'),
|
/gem5/src/kern/linux/ |
H A D | events.cc | 107 OutputStream *os = simout.create(fname); local 108 dumpDmesg(tc, *os->stream()); 109 simout.close(os); 120 OutputStream *os = simout.create(fname); local 121 dumpDmesg(tc, *os->stream()); 122 simout.close(os);
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxnum.cpp | 84 sc_fxnum_bitref::print( ::std::ostream& os ) const 86 os << get(); 98 sc_fxnum_bitref::dump( ::std::ostream& os ) const 100 os << "sc_fxnum_bitref" << ::std::endl; 101 os << "(" << ::std::endl; 102 os << "num = "; 103 m_num.dump( os ); 104 os << "idx = " << m_idx << ::std::endl; 105 os << ")" << ::std::endl; 131 sc_fxnum_fast_bitref::print( ::std::ostream& os ) cons [all...] |
H A D | sc_fxdefs.h | 77 operator << ( ::std::ostream& os, sc_enc enc ) argument 79 return os << to_string( enc ); 106 operator << ( ::std::ostream& os, sc_q_mode q_mode ) argument 108 return os << to_string( q_mode ); 135 operator << ( ::std::ostream& os, sc_o_mode o_mode ) argument 137 return os << to_string( o_mode ); 159 operator << ( ::std::ostream& os, sc_switch sw ) argument 161 return os << to_string( sw ); 183 operator << ( ::std::ostream& os, sc_fmt fmt ) argument 185 return os << to_strin [all...] |
/gem5/src/systemc/dt/fx/ |
H A D | sc_fxnum.cc | 72 void sc_fxnum_bitref::print(::std::ostream &os) const { os << get(); } 83 sc_fxnum_bitref::dump(::std::ostream &os) const 85 os << "sc_fxnum_bitref" << ::std::endl; 86 os << "(" << ::std::endl; 87 os << "num = "; 88 m_num.dump(os); 89 os << "idx = " << m_idx << ::std::endl; 90 os << ")" << ::std::endl; 104 void sc_fxnum_fast_bitref::print(::std::ostream &os) cons [all...] |
/gem5/src/arch/arm/insts/ |
H A D | static_inst.cc | 296 ArmStaticInst::printIntReg(std::ostream &os, RegIndex reg_idx, argument 303 ccprintf(os, "ureg0"); 305 ccprintf(os, "%s%s", (opWidth == 32) ? "w" : "", "sp"); 307 ccprintf(os, "%szr", (opWidth == 32) ? "w" : "x"); 309 ccprintf(os, "%s%d", (opWidth == 32) ? "w" : "x", reg_idx); 313 ccprintf(os, "pc"); 316 ccprintf(os, "sp"); 319 ccprintf(os, "fp"); 322 ccprintf(os, "lr"); 325 ccprintf(os, " 331 printPFflags(std::ostream &os, int flag) const argument 342 printFloatReg(std::ostream &os, RegIndex reg_idx) const argument 348 printVecReg(std::ostream &os, RegIndex reg_idx, bool isSveVecReg) const argument 355 printVecPredReg(std::ostream &os, RegIndex reg_idx) const argument 361 printCCReg(std::ostream &os, RegIndex reg_idx) const argument 367 printMiscReg(std::ostream &os, RegIndex reg_idx) const argument [all...] |
/gem5/src/sim/ |
H A D | serialize.hh | 283 showParam(CheckpointOut &os, const T &value) argument 285 os << value; 301 showParam(CheckpointOut &os, const BitUnionType<T> &value) argument 308 os << ((sizeof(storage) == 1) ? 315 showParam(CheckpointOut &os, const char &value) argument 317 os << (int)value; 322 showParam(CheckpointOut &os, const signed char &value) argument 324 os << (int)value; 329 showParam(CheckpointOut &os, const unsigned char &value) argument 331 os << (unsigne 358 showParam(CheckpointOut &os, const bool &value) argument 374 paramOut(CheckpointOut &os, const std::string &name, const T ¶m) argument 410 arrayParamOut(CheckpointOut &os, const std::string &name, const std::vector<T> ¶m) argument 426 arrayParamOut(CheckpointOut &os, const std::string &name, const std::list<T> ¶m) argument 445 arrayParamOut(CheckpointOut &os, const std::string &name, const std::set<T> ¶m) argument 464 arrayParamOut(CheckpointOut &os, const std::string &name, const T *param, unsigned size) argument [all...] |
H A D | port.hh | 151 operator << (std::ostream &os, const Port &port) argument 153 os << port.name(); 154 return os;
|
/gem5/tests/testing/ |
H A D | tests.py | 41 import os 47 _test_base = os.path.join(os.path.dirname(__file__), "..") 54 "os", 263 self.gem5 = os.path.abspath(gem5) 264 self.script = os.path.join(_test_base, "run.py") 269 self.ref_dir = os.path.join(_test_base, 271 "ref", ct.isa, ct.os, ct.config) 277 ref_dir = os.path.abspath(self.ref_dir) 278 for root, dirs, files in os [all...] |
/gem5/ext/googletest/googletest/scripts/ |
H A D | fuse_gtest_files.py | 61 import os 71 DEFAULT_GTEST_ROOT_DIR = os.path.join(os.path.dirname(__file__), '..') 95 if not os.path.isfile(os.path.join(directory, relative_path)): 120 output_file = os.path.join(output_dir, relative_path) 121 if os.path.exists(output_file): 134 parent_directory = os.path.dirname(output_file) 135 if not os.path.isdir(parent_directory): 136 os [all...] |
H A D | common.py | 34 import os 49 f = os.popen(command, 'r') 63 root = os.path.realpath(rel_path.count('/') * '../')
|
/gem5/src/systemc/tests/systemc/communication/sc_signal/datatypes/test02/ |
H A D | test02.cpp | 63 void print( ostream& os ) const 64 { os << m_val; } 70 operator << ( ostream& os, const my_datatype& a ) argument 72 a.print( os ); 73 return os;
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_env_var_test.py | 36 import os 40 IS_WINDOWS = os.name == 'nt' 41 IS_LINUX = os.name == 'posix' and os.uname()[0] == 'Linux' 45 environ = os.environ.copy()
|
/gem5/ext/pybind11/docs/ |
H A D | conf.py | 17 import os 23 # documentation root, use os.path.abspath to make it absolute, like shown here. 24 #sys.path.insert(0, os.path.abspath('.')) 118 on_rtd = os.environ.get('READTHEDOCS', None) == 'True' 317 build_dir = os.path.join(app.confdir, '.build') 318 if not os.path.exists(build_dir): 319 os.mkdir(build_dir)
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/aggregate/ |
H A D | rgb.cpp | 41 operator<<(ostream& os, struct rgb_t &r) argument 43 os << r.red << " " << r.green << " " << r.blue << endl; 44 return os;
|
/gem5/src/systemc/tests/systemc/misc/communication/signals/aggregate/ |
H A D | rgb.h | 52 operator << ( ostream& os, const rgb_t& a ) argument 54 os << a.red << " " << a.green << " " << a.blue; 55 return os;
|
/gem5/tests/gem5/fs/linux/arm/ |
H A D | test.py | 42 from os.path import join as joinpath 87 path = os.path.dirname(os.path.abspath(__file__))
|