Function report |
Source Code:arch\x86\kernel\cpu\umwait.c |
Create Date:2022-07-28 07:56:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:max_time_show
Proto:static ssize_t max_time_show(struct device *kobj, struct device_attribute *attr, char *buf)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | kobj | |
| struct device_attribute * | attr | |
| char * | buf |
| 166 | ctrl = READ_ONCE(Cache IA32_UMWAIT_CONTROL MSR. This is a systemwide control. By default,* umwait max time is 100000 in TSC-quanta and C0.2 is enabled) |
| 168 | Return sprintf(buf, "%u\n", umwait_ctrl_max_time(ctrl)) |
| 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 |