Download The Cache Visualisation Tool
Transcript
This button provides the user a way to save the state of the CVT at any given moment. All the needed structures are saved to let the user start from that point on at any given time (look at section 3.3.11 for loading a certain status). When the user presses this button, a window is popped up in which the user is asked to enter the lename for this status save (look at gure 3.11. The standard extension of user status save-les is ".sta" and is added automatically. When the user presses the "Ok" button, the status is saved at that moment to the entered lename. This lename is recorded (and shown in the status area on the bottom of the cache window), for later saves to the same le with the "Save" button (as described in section 3.3.10). The "Cancel" button will close this window, without saving anything. 3.3.10 Button "Save" This button has the same workings as the "Save As" button, but will not ask for a lename. It will take the lename from the last "Save As" action. 3.3.11 Button "Load" Figure 3.12: Override Window, popped up when unique identiers do not match, when a status is loaded. When this button is pressed, a le-browser (like the one in gure 3.19, with only that dierence that the standard lter is set to ".sta", the standard extension for status save les). The exact workings of a le browser are explained in section 3.5.1. When the user has chosen a certain lename, the with this name corresponding status will be loaded in. First the Unique Identier is read from the le, this identier is compared to the current identier of the CVT. If the two do not match, a window is popped up in which the user is asked if he wants to override the warning (see gure 3.12). Please note, that if the status le is saved when the CVT was loaded with a dierent program,trace or loop trace, than at this moment, carrying on with the loading of the state can cause severe errors (e.g. the number of loops of the program currently available and the number of loops in the status le could not match, which could imply "Bus Errors" or "Segmentation Faults", when storing in memory that was not properly allocated). When either the unique identiers match or the user chooses to override the warning, the status of the time of the save of the status le, is restored and the user is able to carry on from that point on. 3.3.12 Button "ToggleEI" This button is provided to pop up and delete the extra info window easily. The extra info is discussed in more detail in section 3.9.5 3.3.13 Speed 21