| Function report | 
| Source Code: kernel\rcu\rcuperf.c | Create Date:2022-07-28 10:23:53 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Return the number if non-negative. If -1, the number of CPUs.* If less than -1, that much less than the number of CPUs, but* at least one.
Proto:static int compute_real(int n)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | n | 
| 559 | If n >= 0 Then | 
| 561 | Else | 
| 562 | nr = num_online_cpus() + 1 + n | 
| 566 | Return nr | 
| Name | Describe | 
|---|---|
| rcu_perf_init | 
| 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 |