This is the mail archive of the mailing list for the SID project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Profiling: --insn-count=1

Hi, Scott -

On Wed, Jul 31, 2002 at 12:53:37PM -0700, Scott Dattalo wrote:
> [...]
> Now the question I have is there a way to count cpu cycles instead of cpu 
> instructions? If there was a one-to-one relationship between the two, then 
> it's not an issue. However, some instructions on the ARM are not 
> single-cycled. I suppose the real question is, "is there a way to 
> concisely measure the amount of 'simulated' time it take for a simulation 
> to run?"

The current batch of CPU models in sid do not attempt to track the number
of cycles taken by any given instruction.  To do so exactly is a crazy
amount of work to do just casually.  (Think of having to model all the
pipeline interlock/bypass features, functional units.)  

SID can on the other hand model memory latency, so if that's the bulk of
your interest, we can make the profile data collector sensitive to that.

> FWIW, I'm using ~6 week old copy of SID.

This hasn't changed recently.

- FChE

Attachment: msg00007/pgp00000.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]