projects
/
gem5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ruby: added random seed option to config scripts
[gem5.git]
/
src
/
mem
/
ruby
/
config
/
print_cfg.rb
1
2
ruby_cfg_file
=
nil
3
$stderr
.
puts $
*.
inspect
4
for
i
in
0
..
$
*.
size-1
do
5
if
$
*[
i
] ==
"-r"
# ruby config file
6
i
+=
1
7
ruby_cfg_file
=
$
*[
i
]
8
break
9
end
10
end
11
12
require
ruby_cfg_file
13
14
RubySystem
.
generateConfig