![Freescale Semiconductor PowerQUICC III Скачать руководство пользователя страница 4](http://html1.mh-extra.com/html/freescale-semiconductor/powerquicc-iii/powerquicc-iii_application-note_2330562004.webp)
PowerQUICC III Performance Monitors, Rev. 2
4
Freescale Semiconductor
Performance Metrics
Note that some of the events can be used in the calculation of multiple metrics. For example, CE:Ref:2
(instructions completed) is used to calculate IPC, IPP, Branches per 1k Instructions, and L1 I-cache miss
rate. This is advantageous, since only a limited number of events can be captured simultaneously in the
limited number of PMCs available.
4.1
Example Configuration
As an example, note the calculation of the L2 cache core miss rate. This metric requires the following
performance monitor events:
Table 1. Commonly Used Performance Metrics
Metric
Performance Monitor
Event(s)
Formula
Core cycles
CE:Ref1, or SE:C0
CE:Ref:1
or
SE:C0 * Clock Ratio
Time
[processor cycles/processor frequency]
CE:Ref:1
CE:Ref:1/Processor Frequency
Instructions cer cycle (IPC)
[instructions completed/processor cycles]
CE:Ref:1
CE:Ref:2
CE:Ref:2/CE:Ref:1
Instructions per packet (IPP)
instructions completed/accepted frames on
TSEC1
SE:Ref:36
CE:Ref:2
CE:Ref:2/SE:Ref:36
Packets per second (PPS)
accepted frames on TSEC1/Time
SE:Ref:36
CE:Ref:1
SE:Ref:36/(CE:Ref:1/Processor
Frequency)
Branch miss ratio
branches mispredicted/branches finished
CE:Com:12
CE:Com:17
(CE:Com:12 - CE:Com17)/CE:Com:12
Branches per 1000 instructions
(1000*branches finished/kilo instructions
completed)
CE:Com:12
CE:Ref:2
1000*CE:Com:12/CE:Ref:2
L1 I-cache miss rate
(I-cache fetch & pre-fetch miss)/instructions
completed
CE:Ref:2
CE:Com:60
CE:Com:60/CE:Ref:2
L1 D-cache miss rate
D-cache miss/data micro-ops completed
CE:Com:41
CE:Com:9
CE:Com:10
CE:Com:41/(CE:Com:9 + CE:Com:10)
L2 cache core miss rate
L2 D&I core miss/(L2 D&I core miss + L2 D&I
core hit)
SE:Ref:22
SE:C2:59
SE:Ref:23
SE:C4:57
(SE:C2L59 + SE:C4:57)/(SE:C2:59 +
SE:C4:57 + SE:Ref:22 + SE:Ref:23)
L2 cache non-core miss rate
L2 non-core miss/(L2 non-core miss + hit)
SE:Ref:24
SE:C1:54
SE:C1:54/(SE:C1:54 + SE:Ref:24)
DDR page row open table miss rate
DDR read & write miss/(DDR read & write miss +
hit)
SE:C2
SE:C4
SE:C6
SE:C8
(SE:C2 + SE:C4)/(SE:C2 + SE:C4 +
SE:C6 + SE:C8)