Function report |
Source Code:arch\x86\kernel\cpu\resctrl\monitor.c |
Create Date:2022-07-28 08:12:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__mon_event_count
Proto:static int __mon_event_count(unsigned int rmid, struct rmid_read *rr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | rmid | |
| struct rmid_read * | rr |
| 230 | tval = __rmid_read(rmid, evtid) |
| 231 | If tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL) Then |
| 233 | Return -EINVAL |
| 239 | Case evtid == QOS_L3_MBM_TOTAL_EVENT_ID |
| 242 | Case evtid == QOS_L3_MBM_LOCAL_EVENT_ID |
| 245 | Default |
| 250 | Return -EINVAL |
| 253 | If first Then |
| 259 | chunks = mbm_overflow_count(prev_msr, tval) |
| 264 | Return 0 |
| Name | Describe |
|---|---|
| mon_event_count | This is called via IPI to read the CQM/MBM counters* on a domain. |
| mbm_update |
| 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 |