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

Reply via email to