]> pd.if.org Git - liblfds/blob - liblfds/liblfds7.1.0/test_and_benchmark/libbenchmark/src/libbenchmark_topology_node/libbenchmark_topology_node_cleanup.c
Initial import (all versions, including the new 7.1.0)
[liblfds] / liblfds / liblfds7.1.0 / test_and_benchmark / libbenchmark / src / libbenchmark_topology_node / libbenchmark_topology_node_cleanup.c
1 /***** includes *****/
2 #include "libbenchmark_topology_node_internal.h"
3
4
5
6
7
8 /****************************************************************************/
9 void libbenchmark_topology_node_cleanup( struct libbenchmark_topology_node_state *tns, void (*element_cleanup_callback)(struct lfds710_list_aso_state *lasos, struct lfds710_list_aso_element *lasoe) )
10 {
11   LFDS710_PAL_ASSERT( tns != NULL );
12   // TRD : element_cleanup_callback can be NULL
13
14   lfds710_list_aso_cleanup( &tns->logical_processor_children, element_cleanup_callback );
15
16   return;
17 }
18