Hi Bobby,
Your answer made me try with the latest Gem5 release (v20.1.0.0).
On this version, the stats reset works fine : all stats are correctly
reset including the system.cpu.dcache stats.
The reported issue occurs with the v20.0.0.3 simulating a 32bits ARM core.
I run a linux kernel (gem5/v4.14) compiled with
"arm-linux-gbueabihf-gcc" according to this documentation :
https://www.gem5.org/documentation/general_docs/fullsystem/building_arm_kernel
Gem5 Full System was run with the following command line :
./build/ARM/gem5.opt configs/example/fs.py --caches --l2cache
--kernel=./vmlinux --machine-type=VExpress_GEM5_V1
--disk=./linux-aarch32-ael.img
--bootloader=./system/arm/bootloader/arm/boot.arm
--dtb-file=./system/arm/dt/armv7_gem5_v1_1cpu.dtb
Then on the target, this bug can be recreate simply running :
$> m5 dumpstats
$> m5 resetstats
$> m5 dumpstats
But this bug is now solved in the v20.1.0.0 release!
Thanks a lot!
Regards,
Maxime
On 06/10/2020 19:40, Bobby Bruce wrote:
Hey Maxime,
As far as I can tell, this is not expected behavior and may be a bug.
To properly log this, and recreate it, could I bother you for a few
more pieces of information?:
- What version of gem5 are you using?
- What OS are you using and what compiler did you compile with
(probably not relevant but good for us to know).
- As much as you're willing to disclose, what are you running exactly?
If you can, it'd be good if you could provide your config and the
exact gem5 command you are using.
Kind regards,
Bobby
--
Dr. Bobby R. Bruce
Room 2235,
Kemper Hall, UC Davis
Davis,
CA, 95616
web: https://www.bobbybruce.net
On Tue, Oct 6, 2020 at 8:54 AM maxime.france-pillois--- via gem5-users
<gem5-users@gem5.org <mailto:gem5-users@gem5.org>> wrote:
Hi all,
Running an ARM cpu based system in Full System mode, I want to
reset stats during simulation using M5Ops " m5 reset_stats".
While almost all stat counters are resetted, some seem to keep
there previous values. Among them, all system.cpu.dcache stats.
Is this behavior expected? And if it is, can you tell me what
stats are not resetted by the m5 op reset_stats?
Thanks,
Maxime
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
<mailto:gem5-users@gem5.org>
To unsubscribe send an email to gem5-users-le...@gem5.org
<mailto:gem5-users-le...@gem5.org>
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
--
Maxime France-Pillois
Research Assistant
LIRMM
161 rue Ada
34095 Montpellier Cedex 5 - France
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s