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 17-22,23-164,165-239 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, 17-22,23-164,165-239, and so on, contain instructions to be executed in straight-line 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 : 64K words Cache size : 1K words Block size : 128 words De cycle time van het hoofdgeheugen is 12\tau seconden en de cycle time van de cache is 1\tau seconde./ The cycle time of the main memory is 12\tau seconds, and the cycle time of the cache is 1\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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!