Function report |
Source Code:arch\x86\kernel\cpu\perfctr-watchdog.c |
Create Date:2022-07-28 08:14:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reserve_evntsel_nmi
Proto:int reserve_evntsel_nmi(unsigned int msr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | msr |
141 | counter = verts an msr to an appropriate reservation bit* returns the bit offset of the event selection register |
143 | If counter > his number is calculated from Intel's MSR_P4_CRU_ESCR5 register and it's* offset from MSR_P4_BSU_ESCR0.* It will be the max for all platforms (for now) Then Return 1 |
146 | If Not st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then Return 1 |
148 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |