]> pd.if.org Git - liblfds/blob - liblfds/liblfds7.1.0/test_and_benchmark/libbenchmark/inc/libbenchmark/libbenchmark_porting_abstraction_layer.h
Initial import (all versions, including the new 7.1.0)
[liblfds] / liblfds / liblfds7.1.0 / test_and_benchmark / libbenchmark / inc / libbenchmark / libbenchmark_porting_abstraction_layer.h
1 /***** defines *****/
2 #if( !defined NULL )
3   #define NULL (void *) 0
4 #endif
5
6 #if( defined __GNUC__ )
7   // TRD : makes checking GCC versions much tidier
8   #define LIBLFDS_GCC_VERSION ( __GNUC__ * 100 + __GNUC_MINOR__ * 10 + __GNUC_PATCHLEVEL__ )
9 #endif
10
11 /***** structs *****/
12
13 /***** public prototypes *****/
14 int libbenchmark_porting_abstraction_layer_populate_topology( struct libbenchmark_topology_state *ts, struct libshared_memory_state *ms );
15 void libbenchmark_porting_abstraction_layer_topology_node_cleanup( struct libbenchmark_topology_node_state *tns );
16
17 void libbenchmark_pal_print_string( char const * const string );
18