The IEW statistics based on instruction class for the o3 CPU might provide what you want. If you want to print OpClass information out in the simple CPU it should be doable.
Ali On 26.07.2013 17:36, Mahshid Sedghi wrote: > Hi, > > I need to find out the instruction mix for some benchmarks. In fact, I want to see what is the breakdown of instruction count into integer insts, memory ref, and so on. According to the following thread, gem5 does not report the breakdown, and "int_inst" includes all the instructions that use integer registers, which will include a big part of load instructions as well. > > http://www.mail-archive.com/[email protected]/msg06828.html [2] > > Any idea how to get the breakdown numbers? Which part of the source code do I need to modify to implement this? > > Thanks everyone, > Mahshid > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1] Links: ------ [1] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [2] http://www.mail-archive.com/[email protected]/msg06828.html
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
