Specifications

Table Of Contents
ARM Debugger 123 ARM Specific Benchmarking Commands
©1989-2014 Lauterbach GmbH
ARM Specific Benchmarking Commands
The BMC (BenchMark Counter) commands provide control of the on-chip performance monitor unit (PMU).
The PMU consists of a group of counters that can be configured to count certain events in order to get
statistics on the operation of the processor and the memory system.
The counters of Cortex-A/-R cores can be read at run-time. The counters of ARM11 cores can only be read
while the target application is halted. This group of counters is not available for ARM7 to ARM10 cores.
For information about architecture-independent BMC commands, refer to ”BMC” (general_ref_b.pdf).
For information about architecture-specific BMC commands, see command descriptions below.
BMC.EXPORT Export benchmarking events from event bus
Enable / disable the export of the benchmarking events from the event bus. If enabled, it allows an external
monitoring tool, such as an ETM to trace the events. For further information please refer to the target
processor manual under the topic performance monitoring.
Default: OFF
The figure below depicts an example configuration comprising the PMU and ETM:
In case ETM1 or ETM2 are selected for event counting, BMC.EXPORT will automatically be switched on.
Furthermore the according extended external input selectors of the ETM will be set accordingly.
Format: BMC.EXPORT [ON | OFF]