Searched refs:dir (Results 1 - 25 of 47) sorted by relevance

12

/gem5/src/base/
H A Doutput.cc78 OutputStream::relocate(const OutputDirectory &dir) argument
83 OutputFile<StreamType>::OutputFile(const OutputDirectory &dir, argument
91 _fstream->open(dir.resolve(_name).c_str(), _mode);
105 OutputFile<StreamType>::relocate(const OutputDirectory &dir) argument
109 _fstream->open(dir.resolve(_name).c_str(), _mode);
162 const string old_dir(dir);
164 dir = d;
167 if (dir[dir.size() - 1] != PATH_SEPARATOR)
168 dir
[all...]
H A Doutput.hh88 virtual void relocate(const OutputDirectory &dir);
117 OutputFile(const OutputDirectory &dir,
126 void relocate(const OutputDirectory &dir) override;
155 std::string dir; member in class:OutputDirectory
196 * @param dir name of this directory
198 void setDirectory(const std::string &dir);
/gem5/util/
H A Dcscope-index.py53 for i,dir in enumerate(subdirs):
54 if dir == 'SCCS':
H A Dcheckpoint-tester.py106 for dir in dirs:
107 match = expr.match(dir)
121 ['--max-checkpoints' , '1', '--checkpoint-dir', cptdir,
/gem5/ext/nomali/
H A DMakefile50 dir:=lib macro
51 include $(dir)/Rules.mk
53 dir:=tests macro
54 include $(dir)/Rules.mk
/gem5/util/batch/
H A Djob.py38 def cleandir(dir):
39 for root, dirs, files in os.walk(dir, False):
74 def __init__(self, dir):
75 self.dir = dir
78 return joinpath(self.dir, filename)
81 if os.path.exists(self.dir):
82 if not os.path.isdir(self.dir):
83 sys.exit('%s is not a directory. Cannot build job' % self.dir)
85 os.mkdir(self.dir)
[all...]
H A Dsend.py36 def nfspath(dir):
37 if dir.startswith('/.automount/'):
38 dir = '/n/%s' % dir[12:]
39 elif not dir.startswith('/n/'):
40 dir = '/n/%s%s' % (socket.gethostname().split('.')[0], dir)
41 return dir
/gem5/util/pbs/
H A Djob.py40 def cleandir(dir):
41 for root, dirs, files in os.walk(dir, False):
76 def __init__(self, dir):
77 self.dir = dir
80 return joinpath(self.dir, filename)
83 if os.path.exists(self.dir):
84 if not os.path.isdir(self.dir):
85 sys.exit('%s is not a directory. Cannot build job' % self.dir)
87 os.mkdir(self.dir)
[all...]
H A Dsend.py37 def nfspath(dir):
38 if dir.startswith('/.automount/'):
39 dir = '/n/%s' % dir[12:]
40 elif not dir.startswith('/n/'):
41 dir = '/n/%s%s' % (socket.gethostname().split('.')[0], dir)
42 return dir
/gem5/util/m5/
H A DAndroid.mk1 LOCAL_PATH := $(call my-dir)
/gem5/src/dev/alpha/
H A Dtsunami_cchip.cc70 dir[x] = 0;
100 pkt->setLE(dir[(daddr >> 4) & 0x3F]);
140 pkt->setLE(dir[0]);
143 pkt->setLE(dir[1]);
146 pkt->setLE(dir[2]);
149 pkt->setLE(dir[3]);
218 olddir = dir[number];
220 dir[number] = dim[number] & drir;
228 if ((dim[number] & bitvector) && (dir[number] & bitvector))
231 DPRINTF(Tsunami, "dim write resulting in posting dir"
[all...]
H A Dtsunami_cchip.hh66 uint64_t dir[Tsunami::Max_CPUs]; member in class:TsunamiCChip
/gem5/src/mem/qos/
H A Dmem_ctrl.cc87 MemCtrl::logRequest(BusState dir, MasterID m_id, uint8_t qos, argument
99 (dir == READ) ? readQueueSizes[qos]: writeQueueSizes[qos],
102 if (dir == READ) {
105 } else if (dir == WRITE) {
139 (dir == READ) ? readQueueSizes[qos]: writeQueueSizes[qos]);
144 MemCtrl::logResponse(BusState dir, MasterID m_id, uint8_t qos, argument
155 (dir == READ) ? readQueueSizes[qos]: writeQueueSizes[qos],
158 if (dir == READ) {
161 } else if (dir == WRITE) {
209 (dir
[all...]
/gem5/src/python/m5/util/
H A Dattrdict.py41 if attr in dir(self) or attr.startswith('_'):
84 print(dir(x))
91 print(dir(x))
/gem5/src/sim/
H A Dcore.hh101 void setOutputDir(const std::string &dir);
H A Dcore.cc124 setOutputDir(const string &dir) argument
126 simout.setDirectory(dir);
H A Dserialize.cc192 string dir = CheckpointIn::setDir(cpt_dir); local
193 if (mkdir(dir.c_str(), 0775) == -1 && errno != EEXIST)
194 fatal("couldn't mkdir %s\n", dir);
196 string cpt_file = dir + CheckpointIn::baseFilename;
268 CheckpointIn::dir() function in class:CheckpointIn
/gem5/ext/dnet/
H A Dfw.h31 #define fw_pack_rule(rule, dev, op, dir, p, s, d, sp1, sp2, dp1, dp2) \
34 (rule)->fw_op = op; (rule)->fw_dir = dir; \
/gem5/ext/googletest/googletest/src/
H A Dgtest-filepath.cc121 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
122 // FilePath("dir/file"). If a case-insensitive extension is not
164 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
168 std::string dir; local
170 dir = std::string(c_str(), last_sep + 1 - c_str());
172 dir = kCurrentDirectoryString;
174 return FilePath(dir);
179 // Given directory = "dir", base_name = "test", number = 0,
180 // extension = "xml", returns "dir/test.xml". If number is greater
181 // than zero (e.g., 12), returns "dir/test_1
[all...]
/gem5/src/arch/hsail/
H A Doperand.cc283 const BrigDirective *dir = (BrigDirective*) local
286 assert(dir->kind == BRIG_KIND_DIRECTIVE_VARIABLE);
289 (const BrigDirectiveVariable*)dir;
451 const BrigDirective *dir = local
454 assert(dir->kind == BRIG_KIND_DIRECTIVE_LABEL);
455 label = obj->currentCode->refLabel((BrigDirectiveLabel*)dir, obj);
/gem5/src/cpu/pred/
H A Dloop_predictor.cc141 return useDirectionBit ? !(ltable[idx].dir) : false;
143 return useDirectionBit ? (ltable[idx].dir) : true;
161 if (taken != ltable[index].dir) {
209 if (taken != (useDirectionBit ? ltable[idx].dir : true)) {
217 ltable[idx].dir = taken; // ignored if no useDirectionBit
252 ltable[idx].dir = !taken; // ignored if no useDirectionBit
H A Dloop_predictor.hh70 bool dir; // only for useDirectionBit member in struct:LoopPredictor::LoopEntry
73 confidence(0), tag(0), age(0), dir(0) { }
/gem5/ext/nomali/lib/
H A DRules.mk21 d := $(dir)
/gem5/ext/nomali/tests/
H A DRules.mk21 d := $(dir)
/gem5/util/dist/
H A Dgem5-dist.sh78 echo " rundir : run simulation under this path. If not specified, current dir will be used"
79 echo " ckptdir : dump/restore checkpoints to/from this path. If not specified, current dir will be used"
317 --checkpoint-dir=$CKPT_DIR/m5out.switch \
350 --checkpoint-dir=$CKPT_DIR/m5out.$n \

Completed in 22 milliseconds

12