Thanks Lluis..Only problem with this is that i need to dump stats at very low instruction grnaulairty like every 5000 retired instruction and the above approach makes the stats file huge(since i dump stats every 5000 committed). I have already tried the above approach and its too slow.
Thanks Sudarshan Graduate student Electrical Engineering Univ of Massachusetts Amherst On Tue, Nov 26, 2013 at 10:55 AM, Lluís Vilanova <[email protected]>wrote: > Sudarshan writes: > > > Hi, > > I would like to integrate gem5 into McPAT since i would like to monitor > the > > dynamic power dissipated at a particular instruction > granularity(example: for > > every 5000 committed instructions). So i would need to call McPAT from > gem5 > > continuously throughout the program execution. Any pointers on this > would be > > helpful.I would also like to know if there is patch already available > for this. > > The simplest way is to dump the gem5 statistics every N cycles (e.g., using > 'dumpresetstats' [1]), and then process those to get numbers from mcpat. > > [1] http://www.m5sim.org/M5ops > > > Lluis > > -- > "And it's much the same thing with knowledge, for whenever you learn > something new, the whole world becomes that much richer." > -- The Princess of Pure Reason, as told by Norton Juster in The Phantom > Tollbooth > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
