函数逻辑报告 |
Source Code:kernel\torture.c |
Create Date:2022-07-27 15:11:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Cause the torture test to shutdown the system after the test has* run for the time specified by the shutdown_secs parameter.
函数原型:static int torture_shutdown(void *arg)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | arg |
482 | VERBOSE_TOROUT_STRING("torture_shutdown task started") |
483 | ktime_snap等于ktime_get() |
486 | 如果verbose则打印警报信息("%s"TORTURE_FLAG"torture_shutdown task: %llu ms remaining\n", torture_type, ktime_ms_delta(ime to system shutdown. , ktime_snap)) |
491 | set_current_state(睡眠态) |
493 | ktime_snap等于ktime_get() |
502 | VERBOSE_TOROUT_STRING("torture_shutdown task shutting down system") |
503 | Variables for auto-shutdown. This allows "lights out" torture runs* to be fully scripted. = NULL |
506 | 否则VERBOSE_TOROUT_STRING("No torture_shutdown_hook(), skipping.") |
509 | kernel_power_off - power_off the system* Shutdown everything and perform a clean system power_off. |
510 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |