Function report |
Source Code:kernel\locking\test-ww_mutex.c |
Create Date:2022-07-28 09:55:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_ww_mutex_init
Proto:static int __init test_ww_mutex_init(void)
Type:int
Parameter:Nothing
| 583 | ncpus = num_online_cpus() |
| 586 | wq = alloc_workqueue("test-ww_mutex", WQ_UNBOUND, 0) |
| 590 | ret = test_mutex() |
| 606 | ret = test_cycle(ncpus) |
| 610 | ret = stress(16, 2 * ncpus, STRESS_INORDER) |
| 614 | ret = stress(16, 2 * ncpus, STRESS_REORDER) |
| 618 | ret = stress(4095, returns the hamming weight of a N-bit word(STRESS_ALL) * ncpus, STRESS_ALL) |
| 622 | 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 |