Download The Cache Visualisation Tool

Transcript
Figure 3.44: The Extra Info on Programs.
3.10 Making the Input
The input of the CVT consist out of two sources, programs and (memory) traces. The advantage of programs,
which are executed by the CVT itself, is that the CVT is aware of what arrays are used and is consequently
able to give statistics on each of the arrays. For sake of simplicity, there was no real parser included in the
CVT, this means that not all kinds, though the most interesting can (see section 3.10.1), of programs can
be simulated, they have to be in a specic format (see 3.10.1). For simulating other kinds of programs or
testing architectures with large mixes of all kinds of programs the trace part has been implemented (see
3.10.2).
3.10.1 Program
In this section the making of a program is discussed, actually once the user knows what the structure of a
CVT-program is like, the rest is child's play. A text-editor needs to be started and a normal loop nest can
be rewritten easily into the format of the CVT.
The Program Look a Like
45