To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 334
333  |  335
Subject: 
Re: Speed of RCX interpreting bytecodes: slow
Newsgroups: 
lugnet.robotics.rcx
Date: 
Mon, 3 Jan 2000 00:43:42 GMT
Viewed: 
1179 times
  
In lugnet.robotics.rcx, Roger Hamlett writes:
In lugnet.robotics.rcx, Ben Jackson writes:
While working on the barcode scanner I decided to see just how fast the RCX

It is important to realise, that the RCX, does not perhaps do the
interpretation in the way you think. In each 'loop', it executes one
instruction from each of the possible threads,

Are you sure you mean each of the POSSIBLE threads?  I did test to see whether
it was slower to count to 1000 with another task running, and it was.  Not half
as fast, only about 30% slower.

--Ben



Message has 1 Reply:
  Re: Speed of RCX interpreting bytecodes: slow
 
(...) half (...) Yes, it seems to switch between two 'modes', one being effectively single tasking, and the other multi-tasking. This gives the change you are seeing. The 'loop' time, can be measured very easily with a scope, by setting a motor (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx)

Message is in Reply To:
  Re: Speed of RCX interpreting bytecodes: slow
 
(...) Yes. It is important to realise, that the RCX, does not perhaps do the interpretation in the way you think. In each 'loop', it executes one instruction from each of the possible threads, and also reads the A-D's, on each sensor, and updates to (...) (25 years ago, 2-Jan-00, to lugnet.robotics.rcx)

11 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR