Searched refs:os (Results 51 - 75 of 356) sorted by relevance

1234567891011>>

/gem5/src/cpu/
H A Dprofile.cc51 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 Dcpu2000.py32 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 Dprintable.hh50 virtual void print(std::ostream &os,
/gem5/src/mem/ruby/common/
H A DBoolVec.hh48 std::ostream& operator<<(std::ostream& os, const std::vector<bool>& myvector);
H A DIntVec.hh44 std::ostream& operator<<(std::ostream& os, const std::vector<int>& myvector);
/gem5/tests/quick/se/04.gpu/
H A Dtest.py39 kernel_path = os.path.dirname(executable)
40 kernel_files = glob.glob(os.path.join(kernel_path, '*.asm'))
/gem5/util/
H A Dcheckpoint-tester.py67 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 Dminorview.py44 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 Dtest_exit.py33 import os
51 config=os.path.join(config.base_dir, 'configs', 'example','se.py'),
/gem5/src/kern/linux/
H A Devents.cc107 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 Dsc_fxnum.cpp84 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 Dsc_fxdefs.h77 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 Dsc_fxnum.cc72 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 Dstatic_inst.cc296 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 Dserialize.hh283 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 &param) argument
410 arrayParamOut(CheckpointOut &os, const std::string &name, const std::vector<T> &param) argument
426 arrayParamOut(CheckpointOut &os, const std::string &name, const std::list<T> &param) argument
445 arrayParamOut(CheckpointOut &os, const std::string &name, const std::set<T> &param) argument
464 arrayParamOut(CheckpointOut &os, const std::string &name, const T *param, unsigned size) argument
[all...]
H A Dport.hh151 operator << (std::ostream &os, const Port &port) argument
153 os << port.name();
154 return os;
/gem5/tests/testing/
H A Dtests.py41 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 Dfuse_gtest_files.py61 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 Dcommon.py34 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 Dtest02.cpp63 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 Dgtest_env_var_test.py36 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 Dconf.py17 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 Drgb.cpp41 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 Drgb.h52 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 Dtest.py42 from os.path import join as joinpath
87 path = os.path.dirname(os.path.abspath(__file__))

Completed in 30 milliseconds

1234567891011>>