Function report |
Source Code:arch\x86\kernel\nmi.c |
Create Date:2022-07-28 07:35:10 |
| Last Modify:2022-05-22 06:29:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:nmi_check_duration
Proto:static void nmi_check_duration(struct nmiaction *action, u64 duration)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct nmiaction * | action | |
| u64 | duration |
| 109 | whole_msecs = READ_ONCE(max_duration) |
| 112 | If duration < nmi_longest_ns || duration < max_duration Then Return |
| 115 | max_duration = duration |
| 117 | remainder_ns = do_div() is NOT a C function(whole_msecs, (1000 * 1000)) |
| 118 | decimal_msecs = remainder_ns / 1000 |
| 120 | atelimited messages with local ratelimit_state,* no local ratelimit_state used in the !PRINTK case(formational "INFO: NMI handler (%ps) took too long to run: %lld.%03d msecs\n", handler, whole_msecs, decimal_msecs) |
| Name | Describe |
|---|---|
| nmi_handle |
| 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 |