10.07.2015 Views

Data Processing Techniques - All about the IBM 1130 Computing ...

Data Processing Techniques - All about the IBM 1130 Computing ...

Data Processing Techniques - All about the IBM 1130 Computing ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section Subsections Page70 60 10 02average, every operation within it should be counted15 times. If, in <strong>the</strong> o<strong>the</strong>r hand, a certain routine isonly executed half <strong>the</strong> time, it should be counted ashalf an execution. To illustrate:X=X+6IF(X-77.)1,2,11 Z=X*14.GO TO 32 Z=X*16. /W3 CONTINUEIf you assume extended precision, and a probabilityof one-third for path 1 and two-thirds forpath 2, <strong>the</strong> estimated execution time isOperation No. of Times x Unit Time * Total*1+1/3+2/3=2 330 6601 440 4401 490 4901/3+2/3=1 790 7902/3 2100 1400FLOAT 1 330 330(6 to 6.0)IF (real) 1 190 190GO TO 1 7 74307*In microsecondsOn <strong>the</strong> average, <strong>the</strong>n, this portion of your programwill require 4307 microseconds, or 4.307milliseconds, or .004307 seconds.Figures 70.34 through 70.40 show someadditional examples.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!