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 typeClock cycles required per instruction (CPI)Number of instructions executed
Branch22.25×108
Load51.20×108
Store41.65×108
Arithmetic31.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...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ
Choose the word that is opposite in meaning to the word “coherent”.
#5 MCQ

Related Topics

GATE 2025 GATE CS Set-2 Question 60 Performance Evaluation CPI Clock Cycle Duration Clock Cycle Time Cycles Per Instruction Branch Instruction Load Instruction Store Instruction Arithmetic Instruction CPU Performance Execution Time Instruction Count

Unique Visitor Count

Total Unique Visitors

Loading......