Appendix E

Program Performance Analysis

Table E.1 Analysis of structured control Statements

Average execution time, Variance of execution time, Laplace transform,
Statement type bapp05-math-0001 bapp05-math-0002 bapp05-math-0003
If B then S1 else S2 bapp05-math-0007 bapp05-math-0008 bapp05-math-0009
bapp05-math-0010
bapp05-math-0011
case i of bapp05-math-0013 bapp05-math-0014 bapp05-math-0015
1: S1;
2: S2;
end
repeat S until B bapp05-math-0022

Get Probability and Statistics with Reliability, Queuing, and Computer Science Applications, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.