Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:33:24 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__perf_event_sync_stat
Proto:static void __perf_event_sync_stat(struct perf_event *event, struct perf_event *next_event)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
struct perf_event * | next_event |
3142 | If Not inherit_stat Then Return |
3152 | If state == PERF_EVENT_STATE_ACTIVE Then read(event) |
3155 | perf_event_update_time(event) |
3161 | value = local64_read( & count) |
3162 | value = local64_xchg( & count, value) |
3163 | local64_set( & count, value) |
3165 | swap - swap values of @a and @b*@a: first value*@b: second value(total_time_enabled, total_time_enabled) |
3166 | swap - swap values of @a and @b*@a: first value*@b: second value(total_time_running, total_time_running) |
Name | Describe |
---|---|
perf_event_sync_stat |
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 |