Hi James.
There are SIMICS_RUBY_MULTIPLIER simics cycles for each ruby cycles.
The default for this parameter is 2 -- see
ruby/config/rubyconfig.defaults.
So yes, it's possible for multiple cpu instructions to execute in a
single ruby cycle.
Unless I'm confused.
dann
>
> Date: Wed, 11 Apr 2007 20:56:08 -0700 (PDT)
> From: James Wang <jameswang99@xxxxxxxxx>
>
> Dear List readers:
> I have observed an interesting discrepency
> between the ruby cycles and instructions executed. In
> the middle of my simulation, I would receive a magic
> call and record the ruby cycle number RC1 and the
> instruction executed IE1 at that cycle. Then, I ran my
> simulation until completion and record the ruby cycle
> RC2 and instruction executed IE2 again. So, my
> problem is RC2 - RC1 < IE2 -IE1. Could that be
> possible? If I recall correctly, each ruby cycle can
> only execute one instruction and my simulation is run
> in a uniprocessor environment.
> Thanks in advance for any reply.
>
>
> Regards
> James
>
|