See all articles from Timelinez v3 n12
Technique for measuring elapsed program execution time on the TS2068 using system variable FRAMES (locations 23672-23673). Insert POKE 23672,0:POKE 23673,0 at program start; read with PEEK 23672+256*PEEK 23673 at end. Formula for averaging and converting 16ms FRAMES steps to decimal seconds accurate to about 0.01 second.