ELEKTRO FORUM

Elektroforum
It is currently January 9, 2009, 12:35 pm

All times are UTC





Post new topic Reply to topic  [ 1 posts ] 
Author Message
PostPosted: 2006-11-24 20:10:06
Online
Registered User

Joined: 2006-11-24 20:10:06
"Markus" schrieb
>
> Kann man technisch einen "üblichen"
> Mikroprozessor auch mit z.B. 0,1 Hz takten,
> um z.B. ohne debuggen per Hand herauszufinden,
> wieviele Takte eine bestimmte Rechnung,
> Reaktion auf Interupt o.Ä. benötigt?
>

Theoretisch bei "statischen" Mikros schon.

Zum Messen der Ausführungszeit von "Rechnungen",
(gemeint sind wohl Befehlssequenzen) ist die
Methode Unsinn. Startest du dein Programm schon
mit 0,1Hz Takt bist du evtl schon zu Staub zerfallen bis
bis deine Rechnung an die Reihe kommt. Und den Takt über
Portpins und Multiplexer umschalten wirst du nicht sauber
hin bekommen. Machs einfach wie die anderen auch -
Übersetze deine Rechnung in Assemblecode und schau im
Datenblatt wieviel Zyklen jeder Befehl dann braucht -
Addiere alles zusammen und multipliziere mit der
Ausführungzeit eines Prozessorzyklus.

Gruß

Hans-Georg


Top
 Profile
 
Post new topic Reply to topic  [ 1 posts ] 

Who is online

Users browsing this forum: Ruediger Ranft < rdi @web.de>,7haag@gmx.de (Sebastian Haag),"Klaus P. Pieper" <me@privacy.net>,"franz.huels" <franz.huels-AT-t-online.de>,"Manfred Weber" <ngds2 @gmx.de>, 5 guests, biuro rachunkowe wrocław księgarnia wrocław dziecko odzież robocza niegidel


New posts New posts    No new posts No new posts    Announce Announcement
New posts [ Popular ] New posts [ Popular ]    No new posts [ Popular ] No new posts [ Popular ]    Sticky Sticky
New posts [ Locked ] New posts [ Locked ]    No new posts [ Locked ] No new posts [ Locked ]    Moved topic Moved topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group