Function report |
Source Code:arch\x86\kernel\cpu\resctrl\monitor.c |
Create Date:2022-07-28 08:12:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Supporting function to calculate the memory bandwidth* and delta bandwidth in MBps.
Proto:static void mbm_bw_count(unsigned int rmid, struct rmid_read *rr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | rmid | |
| struct rmid_read * | rr |
| 273 | r = rdt_resources_all[RDT_RESOURCE_L3] |
| 277 | tval = __rmid_read(rmid, evtid) |
| 278 | If tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL) Then Return |
| 281 | chunks = mbm_overflow_count(prev_bw_msr, tval) |
| 288 | delta_comp = false |
| 290 | prev_bw_msr = tval |
| Name | Describe |
|---|---|
| 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 |