Function report |
Source Code:kernel\time\timekeeping.c |
Create Date:2022-07-28 10:42:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hange_clocksource - Swaps clocksources if a new one is available* Accumulates current time interval and initializes new clocksource
Proto:static int change_clocksource(void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | data |
| 1362 | tk = timekeeper |
| 1368 | raw_spin_lock_irqsave( & timekeeper_lock, flags) |
| 1369 | write_seqcount_begin( & seq) |
| 1376 | If try_module_get(owner) Then |
| 1389 | write_seqcount_end( & seq) |
| 1390 | raw_spin_unlock_irqrestore( & timekeeper_lock, flags) |
| 1392 | Return 0 |
| 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 |