[Gems-users] instruction counts in makeRequest()


Date: Sun, 2 Mar 2008 23:48:06 -0500
From: "Carole-Jean Wu" <carolewu@xxxxxxxxxxxxx>
Subject: [Gems-users] instruction counts in makeRequest()
Hello,

I am finding some weird numbers with instruction counts. Can someone explain whether this makes sense?

in system/Sequencer.C's makeRequest()

Time icnt = g_system_ptr->getDriver()->getInstructionCount(0);
Time mcycle = get_eventQueue_ptr->getTime();


printf("%lld %lld\n", icnt, mcycle);


mcycle is always monotonically increasing, but icnt isn't.

I suppose that icnt means the number of instructions executed so far by CPU0 and icnt should also increase monotonically, right? If that is the case, can someone explain why it is not right now?


Thanks!
Carole
[← Prev in Thread] Current Thread [Next in Thread→]