Adding gem5 source to svn.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1819 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
38
simulators/gem5/configs/boot/bbench-ics.rcS
Normal file
38
simulators/gem5/configs/boot/bbench-ics.rcS
Normal file
@ -0,0 +1,38 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
#Author: Anthony Gutierrez
|
||||
# run script for bbench on ics
|
||||
|
||||
stop_m5() {
|
||||
/sbin/m5 exit
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
wait_bb_finishfifo() {
|
||||
echo "<html><head>FINISH</head><body><h1>FINISH</h1></body></html>" > /data/bbench/finish_fifo.html
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
mkfifo_bbench() {
|
||||
/sbin/busybox mkfifo /data/bbench/finish_fifo.html
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
run_bbench_test() {
|
||||
mkfifo_bbench
|
||||
am start -a android.intent.action.VIEW -d file:///data/bbench/index.html -t application/x-webarchive-xml
|
||||
wait_bb_finishfifo
|
||||
|
||||
rm /data/bbench/finish_fifo.html
|
||||
stop_m5
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
sleep 10
|
||||
/sbin/m5 dumpstats
|
||||
/sbin/m5 resetstats
|
||||
run_bbench_test
|
||||
Reference in New Issue
Block a user