point_lock_bench.cc 545 B

123456789101112131415161718
  1. // Copyright (c) Meta Platforms, Inc. and affiliates.
  2. //
  3. // This source code is licensed under both the GPLv2 (found in the
  4. // COPYING file in the root directory) and Apache 2.0 License
  5. // (found in the LICENSE.Apache file in the root directory).
  6. #ifndef GFLAGS
  7. #include <cstdio>
  8. int main() {
  9. fprintf(stderr, "Please install gflags to run rocksdb tools\n");
  10. return 1;
  11. }
  12. #else
  13. #include "rocksdb/point_lock_bench_tool.h"
  14. int main(int argc, char** argv) {
  15. return ROCKSDB_NAMESPACE::point_lock_bench_tool(argc, argv);
  16. }
  17. #endif // GFLAGS