Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:39:43 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_swevent_init_hrtimer
Proto:static void perf_swevent_init_hrtimer(struct perf_event *event)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event |
| 9869 | If Not is_sampling_event(event) Then Return |
| 9879 | If freq Then |
| 9880 | freq = sample_freq |
| 9882 | sample_period = NSEC_PER_SEC / freq |
| 9883 | sample_period = sample_period |
| 9884 | local64_set( & period_left, sample_period) |
| 9885 | last_period = sample_period |
| 9886 | freq = 0 |
| Name | Describe |
|---|---|
| cpu_clock_event_init | |
| task_clock_event_init |
| 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 |