Re: How to compare computing power of microcontrollers?
- From: "Paul E. Bennett" <peb@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 20:37:22 +0100
Eric wrote:
> If you don't have hardware for both, I would write a piece of assembly
> code "on paper". This code should be represntative of a function that
> you will be doing for your application (ie. 16 bit multiplication and
> trig). And add up the number of clock cycles it would take each
> processor to run the same piece of code.
>
> This calculations assumes each processor has similar instructions and
> the compilers you use have a similar optimization routine.
>
> You know the # of clock cycles and the frequency, you can then evaluate
> which processor has a better performance for your application.
>
> It is time consuming, but without looking at the Datapath / Instruction
> cycles you can't evaluate the performance.
>
> Example: a processor may run at a faster clock frequency, but if the
> instructions you are using aren't pipelined well your just burning up
> power and not gaining performance.
>
> Multiplication tends to be one of the instructions that is poorly
> pipelined in smaller cpus. So the # of instructions that MULT takes
> might be a good enough benchmark for your application.
Good advice from Eric there. You should also be aware of the cost
constraints of your project (is this a one off or do you need to make
millions of devices?). This will also determine whether the effort you
expend in finding the processor is better than going wity one that may be
overkill in terms of obvious performance advantage.
--
********************************************************************
Paul E. Bennett ....................<email://peb@xxxxxxxxxxxxxxxxxx>
Forth based HIDECS Consultancy .....<http://www.amleth.demon.co.uk/>
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ....EBA. http://www.electric-boat-association.org.uk/
********************************************************************
.
- References:
- How to compare computing power of microcontrollers?
- From: Michael J. Noone
- Re: How to compare computing power of microcontrollers?
- From: Eric
- How to compare computing power of microcontrollers?
- Prev by Date: Re: PIC at dry ice temperature
- Next by Date: Re: How to compare computing power of microcontrollers?
- Previous by thread: Re: How to compare computing power of microcontrollers?
- Next by thread: Re: How to compare computing power of microcontrollers?
- Index(es):
Relevant Pages
|