Computer Sciences > GATE 2025 SET-2 > Performance Evaluation
An application executes 6.4×108 number of instructions in 6.3 seconds. There are four types of instructions, the details of which are given in the table. The duration of a clock cycle in nanoseconds is ______ (rounded off to one decimal place)
| Instruction type | Clock cycles required per instruction (CPI) | Number of instructions executed |
| Branch | 2 | 2.25×108 |
| Load | 5 | 1.20×108 |
| Store | 4 | 1.65×108 |
| Arithmetic | 3 | 1.30×108 |
Correct : 3.0
Total clock cycles = Σ (CPI × Number of instructions):
Branch = 2 × 2.25 × 108 = 4.50 × 108
Load = 5 × 1.20 × 108 = 6.00 × 108
Store = 4 × 1.65 × 108 = 6.60 × 108
Arithmetic = 3 × 1.30 × 108 = 3.90 × 108
Total clock cycles = (4.50 + 6.00 + 6.60 + 3.90) × 108
Total clock cycles = 21.00 × 108 = 2.1 × 109
Duration of one clock cycle:
Clock cycle duration = Execution time ÷ Total clock cycles
Clock cycle duration = 6.3 ÷ 2.1 × 109
Clock cycle duration = 3.0 × 10-9 seconds
Clock cycle duration = 3.0 nanoseconds
∴ The duration of a clock cycle = 3.0 ns
Similar Questions
A palindrome is a word that reads the same forwards and backwards. In a game
of words, a player has the following two plates painted with letters.
From...
Which number does not belong in the series below?
2, 5, 10, 17, 26, 37, 50, 64
Choose the word that is opposite in meaning to the word “coherent”.
Total Unique Visitors
Loading......