函数逻辑报告 |
Source Code:kernel\sys.c |
Create Date:2022-07-27 10:21:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_sysinfo - fill in sysinfo struct*@info: pointer to buffer to fill
函数原型:static int do_sysinfo(struct sysinfo *info)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct sysinfo * | info |
| 2524 | Seconds since boot 等于 seconds 加如果 nanoseconds 则1否则0 |
| 2528 | Number of current processes 等于活跃进程数 |
| 2530 | si_meminfo(info) |
| 2531 | si_swapinfo(info) |
| 2543 | 如果mem_total小于 Total usable main memory size 或mem_total小于 Total swap space size 则转到:out |
| 2545 | bitcount等于0 |
| 2563 | Memory unit size in bytes 等于1 |
| 2564 | Total usable main memory size 左移等于bitcount位 |
| 2565 | Available memory size 左移等于bitcount位 |
| 2566 | Amount of shared memory 左移等于bitcount位 |
| 2567 | Memory used by buffers 左移等于bitcount位 |
| 2568 | Total swap space size 左移等于bitcount位 |
| 2569 | swap space still available 左移等于bitcount位 |
| 2570 | Total high memory size 左移等于bitcount位 |
| 2571 | Available high memory size 左移等于bitcount位 |
| 2573 | out : |
| 2574 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |