Hi Muzamil, Here is an example of how to get the sum of all CPU's instructions. https://github.com/powerjg/gem5/blob/features/tardis/configs/myconfigs/system/system.py#L121 You simply need to iterate through all of the CPUs and add them up.
Jason On Thu, Sep 21, 2017 at 3:30 PM Muzamil Rafique <[email protected]> wrote: > Hi All, > > In multi-core simulation, --max-insts means exit simulation if "any" > thread reach <max-insts> instruction count. Which file in gem5 should I > modify it so that "sum of total instructions" executed by "all" threads > reach this count. > > Thanks > Muzamil > _______________________________________________ > 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
