[Gems-users] cpu-switch-time


Date: Mon, 3 Apr 2006 21:38:30 -0700 (PDT)
From: arrvindh shriraman <arrvindh_shriraman@xxxxxxxxx>
Subject: [Gems-users] cpu-switch-time
Does cpu-switch-time influence timing aspects in ruby ?

In interface.C the rubyeventqueue is woken up for every cycle advanced on processor 0, to process events and advance global time. and in Sequencer.c->Message.C . The arrival time of a Load message is specified to be global event queue's current time.

Consider the following code with cpu-switch-time of 100.

Simics Quantum 1
Processor 1:
Ld
...
...

Processor 2:
Ld
...
==================
Does this mean processor2's load will only be seen at time - 100 since processor 1 has to complete . If there's another Ld from Processor 2 after this quantum has finished, what is the timestamp on that.



New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.
[← Prev in Thread] Current Thread [Next in Thread→]