PowerPC e500 Core Family Reference Manual, Rev. 1
Freescale Semiconductor
7-1
Chapter 7
Performance Monitor
This chapter describes the performance monitor, which is generally defined by the Freescale
Book E implementation standards (EIS) and implemented as an APU on the e500 core. Although
the programming model is defined by the EIS, some features are defined by the e500
implementation, in particular, the events that can be counted.
References to e500 apply to both e500v1 and e500v2.
7.1
Overview
The performance monitor provides the ability to count predefined events and processor clocks
associated with particular operations, for example cache misses, mispredicted branches, or the
number of cycles an execution unit stalls. The count of such events can be used to trigger the
performance monitor interrupt.
The performance monitor can be used to do the following:
•
Improve system performance by monitoring software execution and then recoding
algorithms for more efficiency. For example, memory hierarchy behavior can be monitored
and analyzed to optimize task scheduling or data distribution algorithms.
•
Characterize processors in environments not easily characterized by benchmarking.
•
Help system developers bring up and debug their systems.
The performance monitor uses the following resources:
•
The performance monitor mark bit in the MSR (MSR[PMM]). This bit controls which
programs are monitored.
•
The move to/from performance monitor registers (PMR) instructions, mtpmr and mfpmr.
•
The external input, pm_event.
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...