thanks

On 11/20/11, Ali Saidi <[email protected]> wrote:
> --prog-interval=<some value> on the command line.
>
> Ali
>
> On Nov 20, 2011, at 3:57 AM, Mahmood Naderan wrote:
>
>> Hi,
>> I want to paste a message every 10M instructions so that I can see
>> progress of simulation.
>>
>> To do that I wrote:
>>
>> void
>> CPUProgressEvent::process()
>> {
>>    Counter temp = cpu->totalInstructions();
>>
>>    /* mahmood */
>>    if ( temp % 10000000 == 0 ) {
>>      inform("Passed %lld instructions\n", temp);
>>    }
>> ...
>> }
>>
>> However that message is never shown.
>>
>> How can I do such thing.
>> --
>> // Naderan *Mahmood;
>> _______________________________________________
>> 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
>


-- 
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to