Shop OBEX P1 Docs P2 Docs Learn Events
Figuring run time? — Parallax Forums

Figuring run time?

lousyshotlousyshot Posts: 11
edited 2012-09-12 11:25 in BASIC Stamp
On page 64 of BOE BOT book it breaks down times of times to run through one loop. 1.7ms +20ms+1.3ms =23ms. I am comfused. Shouldn't there just be two numbers? Pulse time (1.7ms or 1.3) and Pause time ( 20ms)? Or am I off base somewhere, which is quite possible.

Comments

  • skylightskylight Posts: 1,915
    edited 2012-09-12 10:20
    The processor execution time (1.3ms) for the command loop is also included I believe, hence you have to include those in your calculation.

    Page 82 in my book
  • lousyshotlousyshot Posts: 11
    edited 2012-09-12 11:02
    OK ,I think:blank:. Is that what they refer to as CODE OVERHEAD?
  • Mike GreenMike Green Posts: 23,101
    edited 2012-09-12 11:25
    There's a discussion on this website about execution time for various statements. Click on the app-notes link on the bottom of the page.
Sign In or Register to comment.