Specifications

Table Of Contents
ARM Debugger 128 ARM Specific Benchmarking Commands
©1989-2014 Lauterbach GmbH
To count for branches taken, in relation to mispredicted branches, use the following commands:
To count for data access in relation to data cache misses:
BMC.RESet ; Reset the BMC settings
BMC.state ; Display the BMC window
BMC.PMN0 BINST ; Set the first (PMN0) performance counter
; to count all taken branches
BMC.PMN1 BMIS ; Set the second (PMN1) performance counter
; to mispredicted branches
BMC.PMN0 PMN1/PMN0 ; Calculate the ratio between branches
; taken and branches mispredicted
Go sieve ; Go to the function sieve
BMC.Init ; Initialize the benchmark counter to start
; the measurement of function sieve
Go.Return ; Go to the last instruction of the function
; sieve
BMC.RESet ; Reset the BMC settings
BMC.state ; Display the BMC window
BMC.PMN0 DCACCESS ; Set the first (PMN0) performance counter
; to count all data accesses
BMC.PMN1 DCMISS ; Set the second (PMN1) performance counter
; to count data cache misses
BMC.PMN0 PMN1/PMN0 ; Calculate the ratio between data access
; and cache misses
Go sieve ; Go to the function sieve
BMC.Init ; Initialize the benchmark counter
Go.Return ; Go to the last instruction of the function
; sieve