Difference between revisions of "Streamline"

From gem5
Jump to: navigation, search
Line 9: Line 9:
 
== How do I get Streamline? ==
 
== How do I get Streamline? ==
  
ARM provides a Community Edition of Streamline to all active members of the gem5 community, as long as they agree to use it for analyzing gem5 outputs only and not use the license for commercial purposes. Please visit [http://www.arm.com/products/tools/streamline-for-gem5.php this link] for detailed instructions on obtaining Streamline.
+
ARM provides a Community Edition of Streamline to all active members of the gem5 community, as long as they agree to use it for analyzing gem5 outputs only and not use the license for commercial purposes.
 +
 
 +
Please visit [http://www.arm.com/products/tools/streamline-for-gem5.php this link] for detailed instructions on obtaining Streamline.
  
 
== How do I view my gem5 run in Streamline? ==
 
== How do I view my gem5 run in Streamline? ==

Revision as of 19:59, 17 January 2013


What is Streamline?

ARM Streamline™ Performance Analyzer, is a component of ARM Development Studio 5, DS-5™, intended to provide in-depth visibilities to the software execution of the system and counters/statistics. Gem5 ARM Streamline -Timeline.png

How do I get Streamline?

ARM provides a Community Edition of Streamline to all active members of the gem5 community, as long as they agree to use it for analyzing gem5 outputs only and not use the license for commercial purposes.

Please visit this link for detailed instructions on obtaining Streamline.

How do I view my gem5 run in Streamline?

1. Before running

Currently Streamline works with Linux and Android guest OSes. The guest kernel needs to have the m5struct.patch applied so that gem5 can access certain information of threads/processes being simulated.

When running the simulation, the enable_context_switch_stats_dump flag in LinuxArmSystem must be enabled. This will ensure that the gem5 statistics will be dumped at every context switch. Additionally, a system.tasks.txt file will be dumped in the output directory, which keeps track of the thread/process information.

2. After running

Run the post-processing script, util/streamline/m5stats2streamline.py to generate a Streamline project folder from gem5 stats. A stat_config.ini file must be provided, which lists the stats to be included. A sample stat config file is included (util/o3_stat_config.ini and util/atomic_stat_config.ini). One the .apc folder is generated, it can be viewed using Streamline.

More information

Slides from the First Annual gem5 User Workshop.

For any problem or comment, please email dam.sunwoo@arm.com.