11.07.2015 Views

Analisa Kinerja Sistem - Blog Sivitas STIKOM Surabaya

Analisa Kinerja Sistem - Blog Sivitas STIKOM Surabaya

Analisa Kinerja Sistem - Blog Sivitas STIKOM Surabaya

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3.Workloadfloat x1, x2, x3, x4, x, y, z, t, t1, t2; float e1[5]; int j, k,l, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11;static void pa (float *e) {/* tests computations with an array as a parameter */int j;/* T,T2 : FLOAT are global variables */j = 0;LAB:e[1] = (e[1] + e[2] + e[3] - e[4]) * t;e[2] = (e[1] + e[2] - e[3] + e[4]) * t;e[3] = (e[1] - e[2] + e[3] + e[4]) * t;e[4] = (-e[1] + e[2] + e[3] + e[4]) / t2;}j = j + 1;if (j < 6)goto LAB;static void p0 () {/** tests computations with no parameters* T1,T2 : FLOAT are global* E1 : VECTOR (1..4) is global* J,K,L : INTEGER are global*/e1[j] = e1[k];44

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

Saved successfully!

Ooh no, something went wrong!