|
|
|
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 20, 2009, 09:53:36 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Sept 30th - New Price -
Axon
is now $94
Robot Forum
72,667
Posts in
9,267
Topics by
5,292
Members
Latest Member:
lepomis
Robot Forum
>
Software
>
Software
>
AVR speed benchmarks; how to calculate time to do stuff
0 Members and 1 Guest are viewing this topic.
Pages:
[
1
]
Author
Topic: AVR speed benchmarks; how to calculate time to do stuff (Read 891 times)
Admin
Administrator
Supreme Robot
Helpful? 62
Online
Posts: 8,610
AVR speed benchmarks; how to calculate time to do stuff
«
on:
January 23, 2009, 02:54:37 AM »
Have you ever wondered how fast your processor needs to be for *your* algorithm?
This really neat benchmark list is what you need to calculate it. Its based on Avr-gcc version 4.2.3.
http://www.gnu.org/savannah-checkouts/non-gnu/avr-libc/user-manual/benchmarks.html
So lets say you are using the Axon, at 16MHz.
16MHz = 16000000 clock cycles per second
Now lets say you want to know how long your Axon will take to calculate cos (1.2345).
Looking at the chart, you see 1665.
Doing the math, that's:
1665/16000000 = 0.0001040625 seconds, or ~.1ms
Ok so it doesn't benchmark some stuff, but it does cover most of the more processor intensive stuff.
Logged
subscribe to SoR's YouTube account
Pages:
[
1
]
Jump to:
Please select a destination:
-----------------------------
General Misc
-----------------------------
=> Misc
=> Robot Videos
-----------------------------
Software
-----------------------------
=> Software
-----------------------------
Electronics
-----------------------------
=> Electronics
-----------------------------
Mechanics and Construction
-----------------------------
=> Mechanics and Construction
Related Topics
Subject
Started by
Replies
Views
Last post
Calculate velocity of movement
Mechanics and Construction
kennykck
9
1597
December 10, 2007, 03:59:46 AM
by
Admin
expected efficiency to calculate RMF value
Mechanics and Construction
karmax
1
920
February 05, 2008, 06:29:21 AM
by
Admin
Free Stuff - Samples and Give Aways *NEW STUFF ADDED* :D
Misc
DC-Electronics
19
2943
January 30, 2009, 11:21:44 PM
by
Joesavage1
How to calculate the time for one clock cycle
Electronics
roi_tau
7
2186
December 04, 2008, 07:45:00 PM
by
Admin
Advertise on this Forum
Loading...