/gem5/src/base/ |
H A D | output.cc | 78 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 D | output.hh | 88 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 D | cscope-index.py | 53 for i,dir in enumerate(subdirs): 54 if dir == 'SCCS':
|
H A D | checkpoint-tester.py | 106 for dir in dirs: 107 match = expr.match(dir) 121 ['--max-checkpoints' , '1', '--checkpoint-dir', cptdir,
|
/gem5/ext/nomali/ |
H A D | Makefile | 50 dir:=lib macro 51 include $(dir)/Rules.mk 53 dir:=tests macro 54 include $(dir)/Rules.mk
|
/gem5/util/batch/ |
H A D | job.py | 38 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 D | send.py | 36 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 D | job.py | 40 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 D | send.py | 37 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 D | Android.mk | 1 LOCAL_PATH := $(call my-dir)
|
/gem5/src/dev/alpha/ |
H A D | tsunami_cchip.cc | 70 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 D | tsunami_cchip.hh | 66 uint64_t dir[Tsunami::Max_CPUs]; member in class:TsunamiCChip
|
/gem5/src/mem/qos/ |
H A D | mem_ctrl.cc | 87 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 D | attrdict.py | 41 if attr in dir(self) or attr.startswith('_'): 84 print(dir(x)) 91 print(dir(x))
|
/gem5/src/sim/ |
H A D | core.hh | 101 void setOutputDir(const std::string &dir);
|
H A D | core.cc | 124 setOutputDir(const string &dir) argument 126 simout.setDirectory(dir);
|
H A D | serialize.cc | 192 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 D | fw.h | 31 #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 D | gtest-filepath.cc | 121 // 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 D | operand.cc | 283 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 D | loop_predictor.cc | 141 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 D | loop_predictor.hh | 70 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 D | Rules.mk | 21 d := $(dir)
|
/gem5/ext/nomali/tests/ |
H A D | Rules.mk | 21 d := $(dir)
|
/gem5/util/dist/ |
H A D | gem5-dist.sh | 78 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 \
|