summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-02-17 10:46:24 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2025-02-17 10:46:24 -0500
commitf0ac69f9d5179abd385644a520be670a8ca5e942 (patch)
treeec20e5c317216b3af21274a0b5ad88306170a377 /CMakeLists.txt
parent2cea904e07629a955f3f024b5a718a21c06ec032 (diff)
downloaddynamic-extension-f0ac69f9d5179abd385644a520be670a8ca5e942.tar.gz
Multi-threaded mixed workload benchmark
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4723da4..e053367 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -306,6 +306,11 @@ if (tail_bench)
target_link_libraries(btree_insert_dist PUBLIC gsl pthread atomic)
target_include_directories(btree_insert_dist PRIVATE include external external/m-tree/cpp external/PGM-index/include external/PLEX/include benchmarks/include external/psudb-common/cpp/include)
target_link_options(btree_insert_dist PUBLIC -mcx16)
+
+ add_executable(mixed_workload ${CMAKE_CURRENT_SOURCE_DIR}/benchmarks/tail-latency/mixed_workload.cpp)
+ target_link_libraries(mixed_workload PUBLIC gsl pthread atomic)
+ target_include_directories(mixed_workload PRIVATE include external external/m-tree/cpp external/PGM-index/include external/PLEX/include benchmarks/include external/psudb-common/cpp/include)
+ target_link_options(mixed_workload PUBLIC -mcx16)
endif()
if (bench)
@@ -364,4 +369,5 @@ if (bench)
target_link_libraries(insert_tail_latency PUBLIC gsl pthread atomic)
target_include_directories(insert_tail_latency PRIVATE include external external/m-tree/cpp external/PGM-index/include external/PLEX/include benchmarks/include external/psudb-common/cpp/include)
target_link_options(insert_tail_latency PUBLIC -mcx16)
+
endif()