Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:31:36 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__perf_update_times
Proto:static __always_inline void __perf_update_times(struct perf_event *event, u64 now, u64 *enabled, u64 *running)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
u64 | now | |
u64 * | enabled | |
u64 * | running |
625 | enabled = total_time_enabled |
626 | If state >= PERF_EVENT_STATE_INACTIVE Then enabled += delta |
629 | running = total_time_running |
630 | If state >= PERF_EVENT_STATE_ACTIVE Then running += delta |
Name | Describe |
---|---|
perf_event_update_time | |
perf_event_read_local | NMI-safe method to read a local event, that is an event that* is:* - either for the current task, or for this CPU* - does not have inherit set, for inherited task events* will not be local and we cannot read them atomically* - must not have a pmu::count |
calc_timer_values |
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 |