函数逻辑报告 |
Source Code:kernel\power\hibernate.c |
Create Date:2022-07-27 10:59:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:swsusp_show_speed - Print time elapsed between two events during hibernation.*@start: Starting event.*@stop: Final event.*@nr_pages: Number of memory pages processed between @start and @stop.*@msg: Additional diagnostic message to print.
函数原型:void swsusp_show_speed(ktime_t start, ktime_t stop, unsigned nr_pages, char *msg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
ktime_t | start | |
ktime_t | stop | |
unsigned | nr_pages | |
char * | msg |
249 | elapsed_centisecs64等于ktime_divns(diff, 10 * NSEC_PER_MSEC) |
255 | 打印信息("%s %u kbytes in %u.%02u seconds (%u.%02u MB/s)\n", msg, k, centisecs / 100, centisecs % 100, kps / 1000, (kps % 1000) / 10) |
名称 | 描述 |
---|---|
hibernate_preallocate_memory | hibernate_preallocate_memory - Preallocate memory for hibernation image |
save_image | save_image - save the suspend image data |
save_image_lzo | save_image_lzo - Save the suspend image data compressed with LZO.*@handle: Swap map handle to use for saving the image.*@snapshot: Image to read data from.*@nr_to_write: Number of pages to save. |
load_image | load_image - load the image using the swap map handle*@handle and the snapshot handle @snapshot* (assume there are @nr_pages pages to load) |
load_image_lzo | load_image_lzo - Load compressed image data and decompress them with LZO.*@handle: Swap map handle to use for loading data.*@snapshot: Image to copy uncompressed data into.*@nr_to_read: Number of pages to load. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |