Function report |
Source Code:lib\nodemask.c |
Create Date:2022-07-28 06:15:13 |
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 bit number of a random bit set in the nodemask.* (returns NUMA_NO_NODE if nodemask is empty)
Proto:int node_random(const nodemask_t *maskp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const nodemask_t * | maskp |
23 | bit = NUMA_NO_NODE |
25 | w = nodes_weight( * maskp) |
26 | If w Then bit = bitmap_ord_to_pos(bits, get_random_int() % w, MAX_NUMNODES) |
29 | Return bit |
Name | Describe |
---|---|
cpuset_slab_spread_node |
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 |