Home | History | Annotate | Download | only in bench

Lines Matching defs:node

190         OPT_CALLBACK('M', "memnodes", NULL, "node[,node2,...nodeN]",
283 static void bind_to_memnode(int node)
288 if (node == -1)
292 nodemask = 1L << node;
295 dprintf("binding to node %d, mask: %016lx => %d\n", node, nodemask, ret);
559 dprintf("got NODE list: {%s}\n", p0.node_list_str);
597 /* Single NODE specified: */
600 /* NODE range specified (for example: "5-11"): */
631 printf("\n# NOTE: ignoring bind NODEs starting at NODE#%d\n", bind_node);
803 * to a single node. A count of g->p.nr_nodes means it's
815 int node;
820 node = numa_node_of_cpu(td->curr_cpu);
821 node_present[node] = 1;
833 * Count the number of distinct process-threads a node contains.
835 * A count of 1 means that the node contains only a single
839 static int count_node_processes(int node)
854 if (n == node) {
879 /* Strong convergence: all threads compress on a single node: */
899 int node;
906 for (node = 0; node < g->p.nr_nodes; node++)
907 nodes[node] = 0;
922 node = numa_node_of_cpu(cpu);
924 nodes[node]++;
935 for (node = 0; node < g->p.nr_nodes; node++) {
936 nr = nodes[node];
955 for (node = 0; node < g->p.nr_nodes; node++) {
956 int processes = count_node_processes(node);
958 nr = nodes[node];