To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1606
1605  |  1607
Subject: 
Time a call to a function
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 9 Jan 2001 15:15:57 GMT
Viewed: 
1109 times
  
Hi,
I am trying to determine the cpu time it takes to implement a number of
additions and multiplications in a function, each time I call it,  so to make
it faster by improving the algorithm.

It would be helpfull to display the result on the RCX lcd.



Message has 1 Reply:
  Re: Time a call to a function
 
(...) The global sys_time contains the number of milliseconds since... well, since something. I think it's how long the RCX has been powered on since the last firmware download. It's probably updated every millisecond. It's a 32-bit number, so it (...) (24 years ago, 9-Jan-01, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

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

Custom Search

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