Datasheet
ARMulator Reference
4-62 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
Reading the memory statistics
To read the memory statistics use the command:
print $memory_statistics
print $memstats
is a short version of
print $memory_statistics
.
Example 4-1 shows the form of reports given.
Example 4-1
address name W acc R(N/S) W(N/S) reads(N/S) writes(N/S) time (ns)
00000000 Dummy 4 - 1/1 1/1 0/0 0/0 0
7FFF8000 Stack 2 rw 150/100 150/100 9290/10590 4542/11688 8538300
00010000 DRAM 2 rw 150/100 150/100 18817/18 11031/140 8915800
00008000 ROM 2 r 100/100 100/100 48638/176292 0/0 44817000
00000000 SRAM 4 rw 1/1 1/1 0/0 0/0 0
The report in Example 4-1 shows that:
• ROM access is critical to this application. Consider using faster ROM, using
burst-capable ROM, or making the ROM wider (32 bits).
• No use was made of SRAM at
0x0
. Consider locating the stack, or other data at
0x0
.