A virtual and physical memory trace
Each square is one memory access. Code and array accesses are plotted by virtual address (left axis), with the matching physical address on the right.
- Page-table read
- Array write
- Instruction fetch
The program
int array[1000];
for (i = 0; i < 1000; i++)
array[i] = 0;
| VA | PA | Instruction |
|---|
edi = 40000
eax = 0
This access
Nothing accessed yet.