Hi Xin He,

If I understand your problem correctly, then you have only changed the line 
mentioned in your mail.
The script communicates with the BBench workload via the finish fifo. Loading 
only one page via this way will not handle this functionality properly.

This is done in this way because launching intents in Android will return 
successfully when the intent is started (in other words, almost immediately), 
and not when it is finished. To put it differently: once the "am start -a" 
command finishes, the page is not necessarily loaded.

You have a couple of options to solve this:

1.       Modify BBench on the image (http://gem5.org/Disk_images); This allows 
you to change the javaScript to only load one site.

2.       Find out by dumping the frames (with the option -frame-buffer) when 
the page has been loaded and use the statistics up to that point (this will 
involve periodically dumping stats)

I think that option one is the best way to go forward.

Regards,

René


From: [email protected] [mailto:[email protected]] On 
Behalf Of Xin He
Sent: 31 October 2013 12:58
To: [email protected]
Subject: [gem5-users] Can't stop BBench automatically: "stop_m5" in rcS does 
not work


Hi all,
Following the wiki, I've successfully run BBench on gem5, and I got correct 
resulting frame.
I want to simulate single paper's rendering and collect data. So I modify the 
corresponding line in .rcS file into:

am start -a android.intent.action.VIEW -d 
file:///data/bbench/sites/bbc/www.bbc.co.uk/index.html<file:///\\data\bbench\sites\bbc\www.bbc.co.uk\index.html>
 -t application/x-webarchive-xml

It does work, and I can see the page frame.

The gem5 can't stop unless manually press "Ctrl+C", although the page rendering 
is already finished.
And the stats.txt is empty without stopping gem5.

Did anyone encounter the same problem and shed some light on this?
I hope to get resulting stat.txt as soon as the browser finishes rendering.

Thanks very much!

Best Regards !
----------------------------------------------------------------------
Xin He, Ph. D. Candidate
State Key Laboratory of Computer System and Architecture
Institute of Computing Technology
Chinese Academy of Sciences, Beijing, China, 100190
Tel: (+86)10-6260 0717
Email: [email protected]<mailto:[email protected]>


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to