Function report | 
Source Code:kernel\time\test_udelay.c | 
Create Date:2022-07-28 10:52:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:udelay_test_show
Proto:static int udelay_test_show(struct seq_file *s, void *v)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | s | |
| void * | v | 
| 72 | ret = 0 | 
| 74 | mutex_lock( & udelay_test_lock) | 
| 75 | usecs = udelay_test_usecs | 
| 80 | Return udelay_test_single(s, usecs, iters) | 
| 81 | Else if usecs == 0 Then | 
| 85 | seq_printf(s, "udelay() test (lpj=%ld kt=%lld.%09ld)\n", loops_per_jiffy, (s64) seconds , nanoseconds ) | 
| 88 | seq_puts(s, "echo USECS [ITERS] > "DEBUGFS_FILENAME"\n") | 
| 89 | seq_puts(s, "cat "DEBUGFS_FILENAME"\n") | 
| 92 | Return ret | 
| 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  |