函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:33:27 |
| Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:wb_update_write_bandwidth
函数原型:static void wb_update_write_bandwidth(struct bdi_writeback *wb, unsigned long elapsed, unsigned long written)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bdi_writeback * | wb | |
| unsigned long | elapsed | |
| unsigned long | written |
| 1102 | bw等于written减两数取小(written, pages written at bw_time_stamp ) |
| 1104 | 如果此条件成立可能性小(为编译器优化)(elapsed > period)则 |
| 1109 | bw加等于he estimated write bandwidth 乘period减elapsed的差 |
| 1121 | out : |
| 1124 | 如果wb_has_dirty_io(wb)则 |
| 1126 | WARN_ON_ONCE(atomic_long_add_return(delta, & tot_write_bandwidth) <= 0) |
| 1129 | he estimated write bandwidth 等于bw |
| 1130 | urther smoothed write bw, > 0 等于avg |
| 名称 | 描述 |
|---|---|
| __wb_update_bandwidth |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |