]> pd.if.org Git - liblfds/blob - liblfds/liblfds7.1.0/test_and_benchmark/libbenchmark/src/libbenchmark_misc/libbenchmark_misc_globals.c
Initial import (all versions, including the new 7.1.0)
[liblfds] / liblfds / liblfds7.1.0 / test_and_benchmark / libbenchmark / src / libbenchmark_misc / libbenchmark_misc_globals.c
1 /***** includes *****/
2 #include "libbenchmark_misc_internal.h"
3
4
5
6
7
8 /****************************************************************************/
9 char const
10   * const libbenchmark_globals_datastructure_names[] = 
11   {
12     "btree_au",
13     "freelist",
14     "queue_umm"
15   },
16   * const libbenchmark_globals_benchmark_names[] = 
17   {
18     "readn_then_writen",
19     "push1_then_pop1",
20     "enqueue1_then_dequeue1"
21   },
22   * const libbenchmark_globals_lock_names[] = 
23   {
24     "GCC spinlock (atomic)",
25     "GCC spinlock (sync)",
26     "liblfds700 (lock-free)",
27     "liblfds710 (lock-free)",
28     "MSVC spinlock",
29     "pthread mutex",
30     "pthread rwlock",
31     "pthread spinlock (private)",
32     "pthread spinlock (shared)",
33     "windows critical section",
34     "windows mutex"
35   },
36   * const libbenchmark_globals_numa_mode_names[] = 
37   {
38     "smp",
39     "numa",
40     "numa_unused"
41   };
42
43 lfds710_pal_uint_t
44   libbenchmark_globals_benchmark_duration_in_seconds = DEFAULT_BENCHMARK_DURATION_IN_SECONDS;
45
46