In O3, numCycles includes idleCycles. So busy cycles is numCycles - idleCycles.
As a side note, there is also quiesceCycles. Thanks, Amin On Tue, Apr 15, 2014 at 2:45 PM, Tiago Mück <[email protected]> wrote: > Hi Lluíz, > > I've noticed that you are using this mapping in your core template: > > <stat name="total_cycles" value="{{ core.numCycles }}"/> > > <stat name="idle_cycles" value="{{ core.iew.iewIdleCycles }}"/> > > <stat name="busy_cycles" value="{{ core.numCycles - > core.iew.iewIdleCycles }}"/> > > > I think *core.numCycles* accounts only for busy cycles, so the correct > would be: > > <stat name="total_cycles" value="{{ core.numCycles + > core.iew.iewIdleCycles }}"/> > > <stat name="idle_cycles" value="{{ core.iew.iewIdleCycles }}"/> > > <stat name="busy_cycles" value="{{ core.numCycles}}"/> > > > Please let me know if I'm wrong. > > Also, why are you using *core.iew.iewIdleCycle* instead of > *core.idleCycles* ? > > Regards, > Tiago > > > On Tue, Apr 15, 2014 at 4:13 AM, Lluís Vilanova <[email protected]>wrote: > >> Sobhan Niknam writes: >> >> > Hi, >> > I need to use GEM5 and McPAT together. Also, I use ALPHA Architectures >> over >> > GEM5. I need to have the power analysis of all components in Gem5 >> simulation. >> > for extracting power from output of Gem5 with McPAT, I searched a lot, >> and find >> > valid parsers or methods to integrate GEM5 with McPAT, I tried with the >> scripts >> > available, like m5-mcpat.pl, m5-mcpat-parser-se.py but could not work >> and I >> > encountered with errors. >> > Unfortunately I don't have time for writing parser myself. please, help >> if you >> > have working methods/scripts and notes for learning. >> > also if there is any other alternative for power analysis. >> >> You could try with this: >> >> https://projects.gso.ac.upc.edu/projects/gem5-mcpat/repository >> >> I've recently updated it to parse the results of a newer gem5 version, >> but you >> might still have to adapt the templates to your needs (in case you're not >> using >> the configuration I needed). In any case, the they are broken down into >> interchangeable pieces; take a look at the "main" file >> "gem5_mcpat/templates/example.xml". >> >> Hope that helps. >> >> >> 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 >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
