From: <ha...@hu...> - 2007-04-02 14:21:50
|
Joh, if you meant to write 1/100s (10 ms), using Timer0 will work just fine! I had no problems running it at higher speeds, too, with my interrupt handler written in Forth. -Hans 2007/4/2, joe...@t-... <joe...@t-...>: > Hi Matthias, > > what is your proposal to generate a (1/100us) clock (for e.g. the output > of a bit pattern ) in amforth? (as you wrote, the timer int. isn't > usable for such speed) > What speed can I expect when I use the word pause? Is there a guarantee > how often the word > is called per ms? Because the pulses should come in a certain time > distance. > > Best regards > joh > > > -----Original Message----- > > Date: Sun, 01 Apr 2007 11:06:59 +0200 > > Subject: [Amforth-devel] benchmarks ;=) > > From: Matthias Trute > > To: Everything around amforth > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi, > > > > I just run a stupid benchmark with the fib word from the blocks > > directory. 24 fib gives the biggest usable number (46368) on amforth. > > > > Running a loop with 100 iterations took roughly 3'30 on an atmega32 at > > 16MHz. The sparring partner I choose is gforth (0.6.2, comes with > > ubuntu) on my 2GHz P4 system. To balance the frequency difference, > > gforth had to run 125 times the 100 loop. That took around 1'30. > > > > What does it tell us? Well, nothing perhaps. Or that amforth executes > > 1 forth "instruction" where gforth has 2, scaled with cpu cycle clock. > > > > Matthias > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.3 (GNU/Linux) > > > > iD8DBQFGD3YzLo3irIddFw4RAibBAKDBc2whzaOQcV33T4GpkI/H0/PGiwCgoSrq > > HLmj7z4xtPYDCrQ9bl0Ps8Q= > > =RK8F > > -----END PGP SIGNATURE----- > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your opinions on IT & business topics through brief surveys-and > > earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Amforth-devel mailing list > > Amf...@li... > > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |