Function report |
Source Code:lib\test_parman.c |
Create Date:2022-07-28 06:34:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_parman_run
Proto:static int test_parman_run(struct test_parman *test_parman)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct test_parman * | test_parman |
| 270 | i = test_parman_rnd_get(test_parman) |
| 273 | When test_parman_run_check_budgets(test_parman) cycle |
| 274 | unsigned int item_index = i++ & TEST_PARMAN_ITEM_MASK |
| 275 | item = items[item_index] |
| 277 | If bulk_noop Then Continue |
| 280 | If Not used Then |
| 281 | err = parman_item_add(parman, & parman_prio, & parman_item) |
| 286 | prio_array[index] = item |
| 287 | used_items++ |
| 288 | Else |
| 289 | prio_array[index] = NULL |
| 290 | parman_item_remove(parman, & parman_prio, & parman_item) |
| 293 | used_items-- |
| 297 | Return 0 |
| Name | Describe |
|---|---|
| test_parman_lsort |
| 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 |