函数逻辑报告 |
Source Code:kernel\time\tick-broadcast.c |
Create Date:2022-07-27 11:50:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check, if the device is disfunctional and a place holder, which* needs to be handled by the broadcast device.
函数原型:int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct clock_event_device * | dev | |
| int | cpu |
| 167 | ret等于0 |
| 177 | 如果非tick_device_is_functional(dev)则 |
| 186 | 否则 |
| 191 | 如果非features按位与CLOCK_EVT_FEAT_C3STOP的值则清空CPU信息 |
| 204 | 当:mode恒等于TICKDEV_MODE_ONESHOT |
| 217 | 当:mode恒等于TICKDEV_MODE_PERIODIC |
| 223 | 如果pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.且bc则lockevents_shutdown - shutdown the device and clear next_event*@dev: device to shutdown |
| 233 | 如果bc且非features按位与CLOCK_EVT_FEAT_HRTIMER的值则ret等于测试CPU信息 |
| 235 | 退出 |
| 236 | 默认 |
| 237 | 退出 |
| 241 | 返回:ret |
| 名称 | 描述 |
|---|---|
| tick_setup_device | Setup the tick device |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |