Professional Documents
Culture Documents
Computer Architecture
TN = TA + (N/R)
where
TN = Average time to read or write N bits
TA = Average access time
N = Number of bits
R = Transfer rate in bits per second
int values[8] =
{9, 34, 23, 67, 23, 7, 3, 65};
int count;
int sum = 0;
for (count = 0; count < 8; count++)
sum += values[count];