函数逻辑报告 |
Source Code:kernel\time\clocksource.c |
Create Date:2022-07-27 11:44:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__clocksource_select
函数原型:static void __clocksource_select(bool skipcur)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
bool | skipcur |
734 | oneshot等于tick_oneshot_mode_active() |
738 | best等于clocksource_find_best(oneshot, skipcur) |
739 | 如果非best则返回 |
747 | 如果skipcur且cs恒等于[Clocksource internal variables]---------* curr_clocksource:* currently selected clocksource则继续下一循环 |
749 | 如果字符串比较不等于0则继续下一循环 |
756 | 如果非flags按位与CLOCK_SOURCE_VALID_FOR_HRES的值且oneshot则 |
758 | 如果flags按位与CLOCK_SOURCE_UNSTABLE则 |
759 | 打印警告信息("Override clocksource %s is unstable and not HRT compatible - cannot switch while in HRT/NOHZ mode\n", name) |
761 | override_name[0]等于0 |
762 | 否则 |
773 | 退出 |
776 | found : |
名称 | 描述 |
---|---|
clocksource_select | locksource_select - Select the best clocksource available* Private function. Must hold clocksource_mutex when called.* Select the clocksource with the best rating, or the clocksource,* which is selected by userspace override. |
clocksource_select_fallback |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |