Great ! Thanks a lot Grégory! It Works !

On Thu, Jan 21, 2016 at 8:51 PM, VAUMOURIN Grégory <[email protected]
> wrote:

> You can register a callback at the end of simulation by using the
> registerExitCallback
> I show you how I used it in order to call printTrashing in the CacheMemory
> Object
>
> Callback *cb =  new
> MakeCallback<CacheMemory,&CacheMemory::printTrashing>(this);
> registerExitCallback(cb);
>
> Hope this helped !
>
> --
> Grégory Vaumourin
> Doctorant - Phd Student
> Laboratoire Adéquation Algorithme Architecture -- Algorithm and
> Architecture Codesign Laboratory
> Phone: +33 (1) 69080069
>
> ________________________________________
> De : gem5-dev [[email protected]] de la part de Parvathy N [
> [email protected]]
> Envoyé : jeudi 21 janvier 2016 09:52
> À : [email protected]
> Objet : [gem5-dev] Printing TLB statistics at end of simulation
>
> Hi all
>          I want to execute a function that prints all the contents in the
> X86 TLB at the end of simulation.
>
> I can execute the function as the simulation is happening, but what i need
> is to execute it at the end of the simulation and pass it to regstats()
> function ( which i have overrided).
>
> How can I do this ? Can some one give any idea on this ?
>
>
> Thanks in advance
>
>
> Parvathy N
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to