sfu-dis / pibench

Benchmarking framework for index structures on persistent memory
MIT License
87 stars 20 forks source link

Setting default option values inline #31

Closed llersch closed 4 years ago

llersch commented 4 years ago

We want libpibench to be linked by third-party applications, rather than just the PiBench binary.

Before the handling of default values for options was being handled in the PiBench binary (main.cpp). It is better to have the default values inlined in the declaration, since this allows both PiBench binary and other applications to get the default values directly.

Consequently, we removed all handling of default options from main.cpp.