On Tue, Jul 31, 2012 at 8:51 PM, Alireza Haghdoost <[email protected]>wrote:
> Hello
>
>
> Is there any way to dynamically turn on logging stats during the
> simulation. Basically, I can turn on logging statistics with this
> command after like 10m cycles.
>
> -startlog 10m
>
> However, I don't know after how many cycles my workload is in its
> steady state. Therefore, I am looking for some way to send a magic
> command to simulator to turn on logging stats in run time.
>
> I can remember that in Simics based full system simulators there is
> such capabilities with Magic Instruction. It is possible to insert it
> in any line of workload source code and have to be compiled in the
> binary files that are executed on the target. Finally, during the
> simulation, when target machine executes the magic instructions,
> simulator starts to logging stats.
>
> MARSS have similar interface but not using any magic instruction.
It uses 'MMIO' interface to communicate between VM and simulator.
All PTLcalls uses this interface to send different commands like '-run'
or '-kill'.
All you have to do is implement a new command '-clear-stats' in
pltsim.cpp to clear reset 'user_stats' and 'kernel_stats'. And create
a in your benchmark call 'ptlcall_single_flush("-clear-stats");' when
you want to clear the stats.
- Avadh
>
> Thanks
> Alireza
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel