Hi all, 

Does gem5 have a way to output stats per thread out-of-the-box? Stats.txt is 
fine, but as you know it reports stats per CPU.
FIY, I am running a multi-threaded application in arm64 FS mode.

I saw an option in fs.py:
--enable-context-switch-stats-dump
                        Enable stats dump at context switches and dump tasks
                        file (required for Streamline)

But it seems to be outdated:

  File "<string>", line 1, in <module>
  File "build/ARM/python/m5/main.py", line 457, in main
    exec(filecode, scope)
  File "configs/example/fs.py", line 339, in <module>
    test_sys = build_test_system(np)
  File "configs/example/fs.py", line 108, in build_test_system
    test_sys.enable_context_switch_stats_dump = True
  File "build/ARM/python/m5/SimObject.py", line 1362, in __setattr__
    raise AttributeError("Class %s has no parameter %s" \
AttributeError: Class ArmSystem has no parameter 
enable_context_switch_stats_dump

Indeed, there is no such a param in the src/arch/arm/ArmSystem.py, so I guess 
this is dead code... 
Since this seemed to be used in the past I wonder if there are any other 
alternatives currently?

Thank you for any feedback!

Thank you.
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to