Ira Ray Jenkins
13 years ago
I am trying to create and port some benchmarks over to gem5 Android.
I've been basing my efforts on BBench, but I have a few questions
about its implementation.
In init.rc, "m5 readfile" is called to read "start_apk.sh". This is
actually the benchmark script (.rcS) that is passed in from
Benchmarks.py, so -b bbench passes in "configs/boot/bbench.rcS". On
boot, the last line in init.rc, executes whatever "start_apk.sh" was
passed in. I believe I have this part right, if I am missing
something, clarification would be greatly appreciated.
Inside "bbench.rcS", "am start .... " is called, firing the Browser
activity. My questions regarding BBench implementation are:
1) How does the browser know to launch /data/bbench/index.html? Has
the Browser been modified, or is it passed in some other way?
2) How do you wait for the activity to complete? I see mkfifo is used,
but I'm not sure that is what causes the full benchmark to run?
In my benchmark, I have created a "test.rcS" as follows:
am start .....
/sbin/m5 exit
However, after the intent is fired for my activity, m5 exit stops the
simulation before the activity even begins. How might I resolve this?
I've been basing my efforts on BBench, but I have a few questions
about its implementation.
In init.rc, "m5 readfile" is called to read "start_apk.sh". This is
actually the benchmark script (.rcS) that is passed in from
Benchmarks.py, so -b bbench passes in "configs/boot/bbench.rcS". On
boot, the last line in init.rc, executes whatever "start_apk.sh" was
passed in. I believe I have this part right, if I am missing
something, clarification would be greatly appreciated.
Inside "bbench.rcS", "am start .... " is called, firing the Browser
activity. My questions regarding BBench implementation are:
1) How does the browser know to launch /data/bbench/index.html? Has
the Browser been modified, or is it passed in some other way?
2) How do you wait for the activity to complete? I see mkfifo is used,
but I'm not sure that is what causes the full benchmark to run?
In my benchmark, I have created a "test.rcS" as follows:
am start .....
/sbin/m5 exit
However, after the intent is fired for my activity, m5 exit stops the
simulation before the activity even begins. How might I resolve this?