Re: [CAD_CAM_EDM_DRO] Re: Re: Smart/Dumb box again... (CPU timing)
Posted by
Jon Elson
on 2001-03-01 12:11:52 UTC
beer@... wrote:
multi-level cache), branch prediction, deep pipelining, etc. as the time the loop takes
to execute can vary 100 : 1 ! And, you really have no way of knowing what time
the loop will take any time, as it depends not only on the past history of what code
was executed last, but on what guesses the cache and branch prediction hardware
made about what to do next or load into the cache.
Jon
> On 28 Feb, CAD_CAM_EDM_DRO@yahoogroups.com wrote:Yes, you really can't run timing loops on any processor with cache (especially
> > Subject: Re: Smart/Dumb box again... (CPU timing)
> >
> > Alan,
> >
> > Not sure if I'll actually work on implementing this or not, but I'd
> > like to keep time in terms of clock cycles on the CPU - similarly to
> > how some PICs have a timing register incremented each cycle.
>
> Oh, do have fun with that x86 ASM code.
>
> And understand that what unless you have the Intel uP manual for the
> processor you're using AND you have the datasheets on the chipset for
> the motherboard you're using AND you have BIOS code to understand how
> those support chips are initialized, you have no idea how long your
> loops are going to take !
>
> For example, your
>
> JMP Shift
>
> instructions will take MORE CPU cycles on a 486 than a 386, more still
> on a Pentium and most of all on a PII ( the first time ).
multi-level cache), branch prediction, deep pipelining, etc. as the time the loop takes
to execute can vary 100 : 1 ! And, you really have no way of knowing what time
the loop will take any time, as it depends not only on the past history of what code
was executed last, but on what guesses the cache and branch prediction hardware
made about what to do next or load into the cache.
Jon
Discussion Thread
dkowalcz@i...
2001-02-26 16:15:10 UTC
Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-26 17:07:50 UTC
Re: Smart/Dumb box again...
Carlos Guillermo
2001-02-26 17:52:42 UTC
RE: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Doug Harrison
2001-02-26 17:56:59 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
ballendo@y...
2001-02-26 18:11:06 UTC
Re: Smart/Dumb box again...
ballendo@y...
2001-02-26 18:15:38 UTC
Re: Smart/Dumb box again...
ballendo@y...
2001-02-26 18:22:16 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-26 18:51:30 UTC
Re: Smart/Dumb box again...
Jon Elson
2001-02-26 22:36:06 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Brian Walsh
2001-02-27 01:49:53 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Ray
2001-02-27 06:56:01 UTC
Re: Re: Smart/Dumb box again...
Ray
2001-02-27 07:02:58 UTC
Re: Re: Smart/Dumb box again...
Jon Elson
2001-02-27 12:06:54 UTC
Re: [CAD_CAM_EDM_DRO] Smart/Dumb box again...
Paul
2001-02-27 12:48:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-27 14:56:27 UTC
Re: Smart/Dumb box again...
wanliker@a...
2001-02-27 16:52:05 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Brian Pitt
2001-02-27 23:05:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Tony Jeffree
2001-02-27 23:34:32 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 00:01:08 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 00:03:11 UTC
Re: Smart/Dumb box again...
Brian Pitt
2001-02-28 01:31:53 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Ian Wright
2001-02-28 01:53:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Jon Elson
2001-02-28 11:30:00 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
dkowalcz@i...
2001-02-28 12:27:25 UTC
Re: Smart/Dumb box again... (CPU timing)
Paul
2001-02-28 12:34:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 13:19:24 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 14:01:49 UTC
Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 14:22:17 UTC
Re: Smart/Dumb box again... (CPU timing)
Jon Elson
2001-02-28 16:09:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Alan Marconett KM6VV
2001-02-28 17:01:00 UTC
Re: Smart/Dumb box again...
wanliker@a...
2001-02-28 17:36:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Henry H. Armstrong
2001-02-28 19:16:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Jon Elson
2001-02-28 23:26:29 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Matt Shaver
2001-02-28 23:42:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Smart/Dumb box again...
Jon Elson
2001-03-01 12:11:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: Smart/Dumb box again... (CPU timing)
Alan Marconett KM6VV
2001-03-01 12:16:26 UTC
Re: Smart/Dumb box again...
beer@s...
2001-03-02 08:41:47 UTC
Re: Re: Smart/Dumb box again... (CPU timing)