function libbenchmark_misc_pal_helper_new_topology_node

From liblfds.org
Jump to navigation Jump to search

Source Files

└───test_and_benchmark
    └───libbenchmark
        ├───inc
        │   └───libbenchmark
        │           libbenchmark_porting_abstraction_layer.h
        └───src
            └───libbenchmark_misc
                    libbenchmark_misc_pal_helpers.c

Opaque Structures

struct libbenchmark_topology_state;
struct libbenchmark_topology_node_state;

Prototype

void libbenchmark_misc_pal_helper_add_numa_node_to_topology_tree( struct libbenchmark_topology_state *ts,
                                                                  struct libbenchmark_topology_node_state *tns,
                                                                  lfds711_pal_uint_t numa_node_id );

Parameters

struct libbenchmark_topology_state *ts

A pointer a struct libbenchmark_topology obtained from libbenchmark_pal_populate_topology.

struct libbenchmark_topology_node_state *tns

A pointer a struct libbenchmark_topology_node obtained from libbenchmark_misc_pal_helper_new_topology_node.

lfds711_pal_uint_t numa_node_id

The NUMA node ID of the node to add.

Return Value

No return value.

Example

Notes

This helper function is used by libbenchmark_pal_populate_topology to add a NUMA node to the topology tree.

See Also