Re: [gem5-users] Access stats during runtime

2018-05-07 Thread Ciro Santilli
Yes, I am pretty sure that you can hack up a second UART that always outputs status.txt, and then just read from it normally within Linux. I'm not familiar with the code, but I'd just look at where the current UART is implemented, clone it, and add it to a config. Alternatively, if that proves

Re: [gem5-users] Access stats during runtime

2018-05-06 Thread Woo L . L .
Yes, that was the intention - to access the host file from a Linux guest. I will study the Workload Automation more in depth as well as look into m5 readfile. Another way which I was thinking if it is possible to just get the required stats printed on the terminal, and send those information

Re: [gem5-users] Access stats during runtime

2018-05-06 Thread Ciro Santilli
Do you want to access a host file (stats.txt) from a Linux guest? If that is the case, can you either use `m5 readfile` (maybe not since taken by your rc script, and only works for a single file at a time) or http://gem5.org/WA-gem5 (broken pending trivial patch when I last checked)? On Sun, May

Re: [gem5-users] Access stats during runtime

2018-05-06 Thread Woo L . L .
Hi Ciro, It is the same issue, but there was no answer so I decided to ask a subset of the question again in a different way. I am interested in the CPU stats - system.cpu.committedInsts, system.cpu.dcache.overall_misses, system.cpu.icache.overall_misses These stats create a different profile

Re: [gem5-users] Access stats during runtime

2018-05-06 Thread Ciro Santilli
Hi Elena, is this different from: http://m5sim.org/cgi-bin/mailman/private/gem5-users/2018-May/031456.html ? Please provide more details: what do you want to achieve? What stat do you want to read and why? On Sun, May 6, 2018 at 10:31 PM, Woo L.L. wrote: > Hi all, > > I