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
/
libruby_cfg_test.cc
1
2
#include <iostream>
3
#include <assert.h>
4
5
#include
"../libruby.hh"
6
7
int
main
(
int
argc
,
char
*
argv
[])
8
{
9
assert
(
argc
==
2
);
10
const char
*
cfg_file
=
argv
[
1
];
11
12
libruby_init
(
cfg_file
);
13
libruby_print_config
(
std
::
cout
);
14
}