![Intel IXP45X Скачать руководство пользователя страница 796](http://html1.mh-extra.com/html/intel/ixp45x/ixp45x_developers-manual_2073092796.webp)
Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors—Performance Monitoring
Unit (PMU)
Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
Developer’s Manual
August 2006
796
Order Number: 306262-004US
16.6.4
Programmable Event Counters
PECx
There are seven programmable event counters (PEC0 – PEC7) that are available
through the memory map. These counters are 27-bit wide and are read only.
The value in any register is incremented based on the current programmed ESR value
and the descriptions shown in the following tables in this subsection. When a new event
to monitor is chosen by writing a value to the ESR, these registers are reset to zero.
The counters are enabled via the PMR.
Register Name:
PMR
Physical Address:
0xC800 2014
Reset Hex Value:
0x00000000
Register Description:
Counter Enable Mode Register
Access: Read, Clear on write
31
16
15
8
7
0
(Reserved)
Enab
le7
Enab
le6
Enab
le5
Enab
le4
Enab
le3
Enab
le2
Enab
le1
Enab
le0
Register
PSR
Bits
Name
Description
Reset
Value
Access
31:8
(Reserved)
Always zero.
7
Enable7
1 = PEC7 is Enabled
0
RW
6
Enable6
1 = PEC6 is Enabled
0
RW
5
Enable5
1 = PEC5 is Enabled
0
RW
4
Enable4
1 = PEC4 is Enabled
0
RW
3
Enable3
1 = PEC3 is Enabled
0
RW
2
Enable2
1 = PEC2 is Enabled
0
RW
1
Enable1
1 = PEC1 is Enabled
0
RW
0
Enable0
1 = PEC0 is Enabled
0
RW