Review Board 2.0.15


gem5: Add the ability to create SimPoint BBV profiles

Review Request #1474 - Created Oct. 19, 2012 and discarded

Information
Mitch Hayenga
gem5
Reviewers
Default
Add the ability to create SimPoint basic block vector (BBV) files from gem5.

This patch adds SimPoint profiling functionality to the atomic CPU model.  Normally one has to use another tool like valgrind or pinpoints to perform this analysis.  Using the --simpoint_profile and --simpoint_interval options, after running simulation a simpoint.bb.gz file will be created in the gem5 output directory.  This file can then be fed to the simpoint tool to identify program sections representative of overall program behavior.
Ran a few benchmarks, output simpoint file and selected simpoints seem ok.

Issue Summary

15 15 0 0
Description From Last Updated Status
Should the type not be long long as in the Ticks? Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
80 char? I would suggest to make the fastmem option responsible for checking that we run in atomic and skip ... Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
Param.Tick? Alternatively even a more abstract frequency or latency for absolute time? Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
use the m5 hash_map and hide the implementation. Otherwise we have issues with the namespace and header for the map ... Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
see the base/hashmap for how to open and close this namespace using the defines provided Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
Doxygen please, for all the new bits :) Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
const? Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
const? Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
Please initialize all the variables that are introduced. Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
Do we really want to hardcode the file? what happens when you have many CPUs? Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
One if statement? Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
Comments please. Throughout. Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
Before we use auto anywhere everyone has to agree to drop gcc 4.3 support and _always_ use the c++0x flag. ... Andreas Hansson Oct. 21, 2012, 6:02 p.m. Open
Is tihs actually called? There was a thread on the mailing list about us not doing a good job calling ... Ali Saidi Oct. 21, 2012, 11:13 p.m. Open
newline please Ali Saidi Oct. 21, 2012, 11:13 p.m. Open
Review request changed
Updated (March 29, 2013, 12:51 p.m.)

Status: Discarded