2 #include "libbenchmark_topology_internal.h"
8 /****************************************************************************/
9 int libbenchmark_topology_compare_lp_printing_offsets_function( void const *new_key, void const *existing_key )
14 struct libbenchmark_topology_lp_printing_offset
18 LFDS710_PAL_ASSERT( new_key != NULL );
19 LFDS710_PAL_ASSERT( existing_key != NULL );
21 tlpo_one = (struct libbenchmark_topology_lp_printing_offset *) new_key;
22 tlpo_two = (struct libbenchmark_topology_lp_printing_offset *) existing_key;
24 cr = libbenchmark_topology_node_compare_nodes_function( &tlpo_one->tns, &tlpo_two->tns );
33 /****************************************************************************/
34 int libbenchmark_topology_compare_node_against_lp_printing_offset_function( void const *new_key, void const *existing_key )
39 struct libbenchmark_topology_node_state
42 struct libbenchmark_topology_lp_printing_offset
45 LFDS710_PAL_ASSERT( new_key != NULL );
46 LFDS710_PAL_ASSERT( existing_key != NULL );
48 tns = (struct libbenchmark_topology_node_state *) new_key;
49 tlpo = (struct libbenchmark_topology_lp_printing_offset *) existing_key;
51 cr = libbenchmark_topology_node_compare_nodes_function( tns, &tlpo->tns );