Function report |
Source Code:kernel\time\clocksource.c |
Create Date:2022-07-28 10:44:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:locksource_start_suspend_timing - Start measuring the suspend timing*@cs: current clocksource from timekeeping*@start_cycles: current cycles from timekeeping* This function will save the start cycle values of suspend timer to calculate
Proto:void clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct clocksource * | cs | |
| u64 | start_cycles |
| 527 | If Not suspend_clocksource Then Return |
| 535 | If clocksource_is_suspend(cs) Then |
| 536 | suspend_start = start_cycles |
| 537 | Return |
| 540 | If enable && enable(suspend_clocksource) Then |
| 542 | pr_warn_once("Failed to enable the non-suspend-able clocksource.\n") |
| 543 | Return |
| 546 | suspend_start = read(suspend_clocksource) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |