Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:33:49 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_calculate_period
Proto:static u64 perf_calculate_period(struct perf_event *event, u64 nsec, u64 count)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
u64 | nsec | |
u64 | count |
3637 | frequency = sample_freq |
3638 | sec = NSEC_PER_SEC |
3646 | sec_fls = 30 |
3677 | When count_fls + sec_fls > 64 && nsec_fls + frequency_fls > 64 cycle |
3687 | divisor >>= 1 |
3691 | Else |
3694 | When nsec_fls + frequency_fls > 64 cycle |
Name | Describe |
---|---|
perf_adjust_period |
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 |