-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
563 lines (491 loc) · 20.6 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
cmake_minimum_required(VERSION 3.5)
project(navin)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_VERBOSE_MAKEFILE ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -march=native -Wno-sign-compare")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -march=native -mavx512bw -mavx512f")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -march=core-avx2")
# HACK: This gives access to the private members of the boost::dynamic_bitset.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_DYNAMIC_BITSET_DONT_USE_FRIENDS")
# Enable ASAN in debug builds.
#set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
#set (CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
include_directories(src)
include_directories(repro/src)
add_subdirectory(../fastbit Fastbit) # Fastbit: which includes WAH
include_directories(SYSTEM ../fastbit/src)
# Roaring Bitmaps (deprecated since we switched to the unity build)
#add_subdirectory(../CRoaring CRoaring)
#include_directories(../CRoaring/include)
#include_directories(../sdsl-lite/include)
#add_subdirectory(../dtl dtl)
include_directories(SYSTEM ../dtl/src)
#include_directories(dtl_storage/src)
include_directories(../) #TODO remove
include_directories(./)
add_subdirectory(thirdparty/gtest)
include_directories(thirdparty/gtest/include lib/googletest)
include_directories(thirdparty)
##===----------------------------------------------------------------------===##
# Expose Git commit ID.
#
# Inspired from
# http://xit0.org/2013/04/cmake-use-git-branch-and-commit-details-in-project/
# and
# https://stackoverflow.com/questions/1704907/how-can-i-get-my-c-code-to-automat
# ically-print-out-its-git-version-hash
##===----------------------------------------------------------------------===##
# Get the current working branch.
execute_process(
COMMAND git rev-parse --abbrev-ref HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_BRANCH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# Get the latest abbreviated commit hash of the working branch.
execute_process(
COMMAND git describe --abbrev=7 --dirty=+ --always --tags
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# Get the current date and time.
execute_process(
COMMAND date +%Y-%m-%d
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE BUILD_DATE
OUTPUT_STRIP_TRAILING_WHITESPACE
)
execute_process(
COMMAND date +%H:%M:%S
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE BUILD_TIME
OUTPUT_STRIP_TRAILING_WHITESPACE
)
#add_definitions("-DGIT_COMMIT_HASH=${GIT_COMMIT_HASH}")
#add_definitions("-DGIT_BRANCH=${GIT_BRANCH}")
#add_definitions("-DBUILD_DATE=${BUILD_DATE}")
#add_definitions("-DBUILD_TIME=${BUILD_TIME}")
configure_file(
${CMAKE_SOURCE_DIR}/src/version.h.in
${CMAKE_BINARY_DIR}/generated/version.h
)
include_directories(${CMAKE_BINARY_DIR}/generated)
##===----------------------------------------------------------------------===##
set(SQLITE_SOURCE_FILES
thirdparty/sqlite/sqlite3.c
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSQLITE_OMIT_LOAD_EXTENSION")
set(OTHER_SOURCE_FILES
thirdparty/perfevent/PerfEvent.hpp
thirdparty/roaring/roaring.c
)
set(BENCHMARK_SOURCE_FILES
${SQLITE_SOURCE_FILES}
${OTHER_SOURCE_FILES}
experiments/compression/common.hpp
experiments/performance/common.hpp
experiments/performance/common_bitwise.hpp
experiments/util/bitmap_db.hpp
experiments/util/bitmap_db.cpp
experiments/util/bitmap_types.hpp
experiments/util/config.hpp
experiments/util/gen.hpp
experiments/util/gen.cpp
experiments/util/params.hpp
experiments/util/prep_data.cpp
experiments/util/prep_data.hpp
experiments/util/prep_updates.hpp
experiments/util/seq_db.hpp
experiments/util/seq_db.cpp
experiments/util/threading.hpp
experiments/util/types.hpp
)
##===----------------------------------------------------------------------===##
# Sources
##===----------------------------------------------------------------------===##
set(UTIL_SOURCE_FILES
repro/src/dtl/bitmap/util/base64.hpp
repro/src/dtl/bitmap/util/markov_process.hpp
repro/src/dtl/bitmap/util/random.hpp
repro/src/dtl/bitmap/util/two_state_markov_process.hpp
src/dtl/bitmap/util/convert.hpp
)
# The following flag disables the inlining of TEB function.
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEB_NO_INLINE")
set(TEB_SOURCE_FILES
src/dtl/bitmap.hpp
src/dtl/bitmap/diff/diff.hpp
src/dtl/bitmap/diff/merge.hpp
src/dtl/bitmap/diff/merge_teb.hpp
src/dtl/bitmap/part/part.hpp
src/dtl/bitmap/part/part_run.hpp
src/dtl/bitmap/part/part_updirect.hpp
src/dtl/bitmap/part/part_upforward.hpp
src/dtl/bitmap/util/binary_tree_structure.hpp
src/dtl/bitmap/util/bit_buffer.hpp
src/dtl/bitmap/util/bit_buffer_avx2.hpp
src/dtl/bitmap/util/bit_buffer_avx512.hpp
src/dtl/bitmap/util/bitmap_fun.hpp
src/dtl/bitmap/util/bitmap_seq_reader.hpp
src/dtl/bitmap/util/bitmap_tree.hpp
src/dtl/bitmap/util/bitmap_view.hpp
src/dtl/bitmap/util/bitmap_writer.hpp
src/dtl/bitmap/util/buffer.hpp
src/dtl/bitmap/util/mutable_bitmap_tree.hpp
src/dtl/bitmap/util/plain_bitmap.hpp
src/dtl/bitmap/util/plain_bitmap_iter.hpp
src/dtl/bitmap/util/rank1_logic_linear.hpp
src/dtl/bitmap/util/rank1.hpp
src/dtl/bitmap/util/rank1_logic_surf.hpp
src/dtl/bitmap/util/rank1_logic_word_blocked.hpp
src/dtl/bitmap/bitwise_operations.hpp
src/dtl/bitmap/iterator.hpp
# src/dtl/bitmap/teb.hpp
src/dtl/bitmap/teb_builder.hpp
src/dtl/bitmap/teb_flat.hpp
src/dtl/bitmap/teb_iter.hpp
src/dtl/bitmap/teb_wrapper.hpp
src/dtl/bitmap/teb_scan_iter.hpp
src/dtl/bitmap/teb_scan_util.hpp
src/dtl/bitmap/teb_types.hpp
src/dtl/iterator.hpp
src/dtl/static_stack.hpp
src/dtl/static_stack2.hpp
)
# Our competitors
set(COMPETITORS_SOURCE_FILES
# Boost dynamic bitset
repro/src/dtl/bitmap/dynamic_bitmap.hpp
# Roaring
repro/src/dtl/bitmap/dynamic_roaring_bitmap.hpp
# WAH (FastBit)
repro/src/dtl/bitmap/dynamic_wah.hpp
# Position list
repro/src/dtl/bitmap/position_list.hpp
# Range list
repro/src/dtl/bitmap/range_list.hpp
# BAH
src/dtl/bitmap/bah.hpp
src/dtl/bitmap/bah_patterns.cpp
src/dtl/bitmap/bah_patterns.hpp
src/dtl/bitmap/bah_types.hpp
# UAH
src/dtl/bitmap/uah.hpp
src/dtl/bitmap/uah_skip.hpp
# XAH
src/dtl/bitmap/xah.hpp
src/dtl/bitmap/xah_skip.hpp
# CONCISE
src/dtl/bitmap/concise.hpp
# BBC
src/dtl/bitmap/bbc.hpp
)
set(SOURCE_FILES
${UTIL_SOURCE_FILES}
${TEB_SOURCE_FILES}
${COMPETITORS_SOURCE_FILES}
)
##===----------------------------------------------------------------------===##
# Tools, benchmarks, and experiments.
##===----------------------------------------------------------------------===##
# Space optimizations. - Compares the different optimizations levels.
set(EXPERIMENT_COMPRESSION_OPT_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/main_compression_optimizations.cpp
)
add_executable(ex_compression_opt ${EXPERIMENT_COMPRESSION_OPT_SOURCE_FILES})
target_link_libraries(ex_compression_opt fastbit pthread dl)
# TODO add description
set(EXPERIMENT_COMPRESSION_OPT_METRICS_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/main_compression_optimizations_metrics.cpp
)
add_executable(ex_compression_opt_metrics ${EXPERIMENT_COMPRESSION_OPT_METRICS_SOURCE_FILES})
target_link_libraries(ex_compression_opt_metrics fastbit pthread dl)
# Compression, skyline (markov)
set(EXPERIMENT_COMPRESSION_SKYLINE_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/common.hpp
experiments/compression/main_compression_skyline.cpp
)
add_executable(ex_compression_skyline ${EXPERIMENT_COMPRESSION_SKYLINE_SOURCE_FILES})
target_link_libraries(ex_compression_skyline fastbit pthread dl)
# Compression, skyline (markov, fine grained)
set(EXPERIMENT_COMPRESSION_SKYLINE_FINE_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/common.hpp
experiments/compression/main_compression_skyline_fine.cpp
)
add_executable(ex_compression_skyline_fine ${EXPERIMENT_COMPRESSION_SKYLINE_FINE_SOURCE_FILES})
target_link_libraries(ex_compression_skyline_fine fastbit pthread dl)
# Compression, varying d (uniform)
set(EXPERIMENT_COMPRESSION_UNIFORM_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/common.hpp
experiments/compression/main_compression_uniform.cpp
)
add_executable(ex_compression_uniform ${EXPERIMENT_COMPRESSION_UNIFORM_SOURCE_FILES})
target_link_libraries(ex_compression_uniform fastbit pthread dl)
# Compression, varying f (markov)
set(EXPERIMENT_COMPRESSION_VARYING_F_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/common.hpp
experiments/compression/main_compression_varying_f.cpp
)
add_executable(ex_compression_varying_f ${EXPERIMENT_COMPRESSION_VARYING_F_SOURCE_FILES})
target_link_libraries(ex_compression_varying_f fastbit pthread dl)
# Compression, varying d (markov)
set(EXPERIMENT_COMPRESSION_VARYING_D_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/common.hpp
experiments/compression/main_compression_varying_d.cpp
)
add_executable(ex_compression_varying_d ${EXPERIMENT_COMPRESSION_VARYING_D_SOURCE_FILES})
target_link_libraries(ex_compression_varying_d fastbit pthread dl)
# Compression, real data sets.
set(REAL_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/real/real.cpp
)
add_executable(real ${REAL_SOURCE_FILES})
target_link_libraries(real fastbit pthread dl boost_system boost_filesystem jemalloc)
# REVISION Real (varying rank granularities)
set(REAL_REVISION_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/real/real_revision.cpp
)
add_executable(real_revision ${REAL_REVISION_SOURCE_FILES})
target_link_libraries(real_revision fastbit pthread dl boost_system boost_filesystem jemalloc)
# copy the data set to the build directory
file(COPY experiments/real/real-roaring-dataset DESTINATION ${PROJECT_BINARY_DIR})
# Performance, varying f (markov)
set(EXPERIMENT_PERFORMANCE_VARYING_F_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/common.hpp
experiments/performance/main_performance_varying_f.cpp
)
add_executable(ex_performance_varying_f ${EXPERIMENT_PERFORMANCE_VARYING_F_SOURCE_FILES})
target_link_libraries(ex_performance_varying_f fastbit pthread dl)
# Performance, skyline
set(EXPERIMENT_PERFORMANCE_SKYLINE_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/main_performance_skyline.cpp
)
add_executable(ex_performance_skyline ${EXPERIMENT_PERFORMANCE_SKYLINE_SOURCE_FILES})
target_link_libraries(ex_performance_skyline fastbit pthread dl)
# Performance, intersect
set(EXPERIMENT_PERFORMANCE_INTERSECT_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/common.hpp
experiments/performance/main_performance_intersect.cpp
)
add_executable(ex_performance_intersect ${EXPERIMENT_PERFORMANCE_INTERSECT_SOURCE_FILES})
target_link_libraries(ex_performance_intersect fastbit pthread dl)
# REVISION: Performance, intersect (varying rank granularity)
set(EXPERIMENT_PERFORMANCE_INTERSECT_REVISION_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/common.hpp
experiments/performance/common_bitwise_revision.hpp
experiments/performance/main_performance_intersect_revision.cpp
)
add_executable(ex_performance_intersect_revision ${EXPERIMENT_PERFORMANCE_INTERSECT_REVISION_SOURCE_FILES})
target_link_libraries(ex_performance_intersect_revision fastbit pthread dl)
# REVISION: Performance, construction
set(EXPERIMENT_PERFORMANCE_CONSTRUCTION_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/common.hpp
experiments/performance/main_performance_construction.cpp
)
add_executable(ex_performance_construction ${EXPERIMENT_PERFORMANCE_CONSTRUCTION_SOURCE_FILES})
target_link_libraries(ex_performance_construction fastbit pthread dl)
# REVISION: Compression, diff updates with size limit
set(EXPERIMENT_COMPRESSION_DIFF_UPDATES_WITH_SIZE_LIMIT_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/common.hpp
experiments/compression/main_compression_diff_updates_with_size_limit.cpp
)
add_executable(ex_compression_diff_updates_with_size_limit ${EXPERIMENT_COMPRESSION_DIFF_UPDATES_WITH_SIZE_LIMIT_SOURCE_FILES})
target_link_libraries(ex_compression_diff_updates_with_size_limit fastbit pthread dl)
set(EXPERIMENT_MICROBENCHMARK_DOWNWARDS_NAV_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/main_microbenchmark_downwards_navigation.cpp
)
add_executable(ex_microbenchmark_downwards_nav ${EXPERIMENT_MICROBENCHMARK_DOWNWARDS_NAV_SOURCE_FILES})
target_link_libraries(ex_microbenchmark_downwards_nav fastbit pthread dl)
set(EXPERIMENT_MICROBENCHMARK_UPWARDS_NAV_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/main_microbenchmark_upwards_navigation.cpp
)
add_executable(ex_microbenchmark_upwards_nav ${EXPERIMENT_MICROBENCHMARK_UPWARDS_NAV_SOURCE_FILES})
target_link_libraries(ex_microbenchmark_upwards_nav fastbit pthread dl)
# Index compression
set(EXPERIMENT_INDEX_COMPRESSION_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/compression/common.hpp
experiments/index/main_index_compression.cpp
)
add_executable(ex_index_compression ${EXPERIMENT_INDEX_COMPRESSION_SOURCE_FILES})
target_link_libraries(ex_index_compression fastbit pthread dl)
# REVISION: Performance, read performance with varying number of pending updates.
set(EXPERIMENT_PERFORMANCE_VARYING_NUMBER_OF_PENDING_UPDATES_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/common.hpp
experiments/performance/main_performance_varying_number_of_pending_updates.cpp
)
add_executable(ex_performance_varying_number_of_pending_updates ${EXPERIMENT_PERFORMANCE_VARYING_NUMBER_OF_PENDING_UPDATES_SOURCE_FILES})
target_link_libraries(ex_performance_varying_number_of_pending_updates fastbit pthread dl)
# REVISION: Performance, update performance with varying merge thresholds.
set(EXPERIMENT_PERFORMANCE_UPDATE_TP_VARYING_MERGE_THRESHOLDS_SOURCE_FILES
${SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/performance/common.hpp
experiments/performance/main_performance_update_tp_varying_merge_threshold.cpp
)
add_executable(ex_performance_update_tp_varying_merge_threshold ${EXPERIMENT_PERFORMANCE_UPDATE_TP_VARYING_MERGE_THRESHOLDS_SOURCE_FILES})
target_link_libraries(ex_performance_update_tp_varying_merge_threshold fastbit pthread dl)
##===----------------------------------------------------------------------===##
include(CMakeListsLocal.cmake OPTIONAL)
##===----------------------------------------------------------------------===##
##===----------------------------------------------------------------------===##
# Test cases.
##===----------------------------------------------------------------------===##
set(TEST_FILES
${BENCHMARK_SOURCE_FILES}
${SOURCE_FILES}
test/dtl/bitmap/util/bit_buffer_avx2_test.cpp
test/dtl/bitmap/util/bit_buffer_avx512_test.cpp
test/dtl/bitmap/util/bit_buffer_test.cpp
test/dtl/bitmap/util/bitmap_fun_test.cpp
test/dtl/bitmap/util/bitmap_seq_reader_test.cpp
test/dtl/bitmap/util/rank_test.cpp
test/dtl/bitmap/api_types.hpp
test/dtl/bitmap/api_encode_decode_test.cpp
test/dtl/bitmap/api_random_access_test.cpp
test/dtl/bitmap/api_run_iterator_test.cpp
test/dtl/bitmap/api_run_iterator_skip_test.cpp
test/dtl/bitmap/api_bitwise_operation_test.cpp
test/dtl/bitmap/bitwise_operations_helper.hpp
test/dtl/bitmap/diff_test.cpp
test/dtl/bitmap/part_diff_test.cpp
test/dtl/bitmap/plain_bitmap_iter_test.cpp
test/dtl/bitmap/update_test.cpp
test/dtl/bitmap/teb_scan_util_test.cpp
test/dtl/bitmap/xah_compression_test.cpp
test/dtl/bitmap/xah_test.cpp
)
add_executable(tester ${TEST_FILES})
target_link_libraries(tester gtest gtest_main fastbit dl)
set(MY_TEST
${TEB_SOURCE_FILES}
src/dtl/bitmap/my_test.cpp
)
add_executable(my_test ${MY_TEST})
#set(RUN_BREAKING_TEST
# ${TEB_SOURCE_FILES}
# src/dtl/bitmap/runbreaking_test.cpp
# )
#add_definitions(-DDEBUG)
#add_executable(runbreaking_test ${RUN_BREAKING_TEST})
set(UPDATE_TEST
${TEB_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/update_test.cpp
)
add_executable(update_test ${UPDATE_TEST})
set(SIZE_V_UPDATE_PRUNE_TEST
${TEB_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/bitset_size_v_update.cpp
)
add_executable(bitset_size_v_update ${SIZE_V_UPDATE_PRUNE_TEST})
set(THRESHOLD_V_PRUNE_TEST
${TEB_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/threshold_v_prune.cpp
)
add_executable(threshold_v_prune ${THRESHOLD_V_PRUNE_TEST})
set(DIFF_V_PRUNE_TEST
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/diff_v_prune.cpp
)
add_executable(diff_v_prune ${DIFF_V_PRUNE_TEST})
target_link_libraries(diff_v_prune fastbit pthread dl)
set(UPDATE_V_TEB_SIZE_TEST
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/update_count_v_teb_size.cpp
)
add_executable(update_count_v_teb_size ${UPDATE_V_TEB_SIZE_TEST})
target_link_libraries(update_count_v_teb_size fastbit pthread dl)
set(AVG_DIFF_V_PRUNE_TEST
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/avg_diff_v_prune.cpp
)
add_executable(avg_diff_v_prune ${AVG_DIFF_V_PRUNE_TEST})
target_link_libraries(avg_diff_v_prune fastbit pthread dl)
set(DIFF_V_PRUNE_LOOKUP
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/diff_v_prune_lookup.cpp
)
add_executable(diff_v_prune_lookup ${DIFF_V_PRUNE_LOOKUP})
target_link_libraries(diff_v_prune_lookup fastbit pthread dl)
set(RUNBREAKING_UPDATE_LEVELS
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/runbreaking_update_levels.cpp
)
add_executable(runbreaking_update_levels ${RUNBREAKING_UPDATE_LEVELS})
target_link_libraries(runbreaking_update_levels fastbit pthread dl)
set(RUNBREAKING_PLAN_TIME
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/runbreaking_plan_time.cpp
)
add_executable(runbreaking_plan_time ${RUNBREAKING_PLAN_TIME})
target_link_libraries(runbreaking_plan_time fastbit pthread dl)
set(RUNBREAKING_V_DIFF
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/prune/runbreaking_v_diff.cpp
)
add_executable(runbreaking_v_diff ${RUNBREAKING_V_DIFF})
target_link_libraries(runbreaking_v_diff fastbit pthread dl)
set(HYBRID_V_DIFF
${TEB_SOURCE_FILES}
${BENCHMARK_SOURCE_FILES}
experiments/util/prune_util.hpp
experiments/performance/common.hpp
experiments/prune/hybrid_v_diff.cpp
)
add_executable(hybrid_v_diff ${HYBRID_V_DIFF})
target_link_libraries(hybrid_v_diff fastbit pthread dl)