Question: Student e ic schrijft een programma dat bestaat uit twee geneste loops een kleine loop in een veel grotere loop. De structuur van het programma
Student eic schrijft een programma dat bestaat uit twee geneste loops een kleine loop in een veel grotere loop. De structuur van het programma is the zien in de illustratie hieronder. De decimale geheugenadressen in de illustratie laten de locaties van de twee loops en het begin en einde van het gehele programma zien. Alle geheugen locaties in alle secties dus etc, bevatten instructies die sequentieel worden uitgevoerd. Het programma wordt gerund op een computer met een direct mapped instructie cache en heeft de volgende parameters: Student eic writes a program that consists of two nested loops a small inner loop and a much larger outer loop. The general structure of the program is given in the picture below. The decimal memory addresses shown delineate the location of the two loops and the beginning and end of the total program. All memory locations in the various sections, and so on contain instructions to be executed in straightline sequencing. The program is to be run on a computer that has an instruction cache organized in the direct mapped manner and that has the following parameters: Main memory size : K words Cache size : K words Block size : words De cycle time van het hoofdgeheugen is tau seconden en de cycle time van de cache is tau seconde The cycle time of the main memory is tau seconds, and the cycle time of the cache is tau second. Help student eic: wat is de totale tijd nodig voor het ophalen van de instructies gedurende de uitvoering van dit programma? Help student eic: what is the total time needed for instruction fetching during execution of this program?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
