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
