db_stress_driver.h 765 B

123456789101112131415161718
  1. // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
  2. // This source code is licensed under both the GPLv2 (found in the
  3. // COPYING file in the root directory) and Apache 2.0 License
  4. // (found in the LICENSE.Apache file in the root directory).
  5. //
  6. // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
  7. // Use of this source code is governed by a BSD-style license that can be
  8. // found in the LICENSE file. See the AUTHORS file for names of contributors.
  9. #include "db_stress_tool/db_stress_shared_state.h"
  10. #ifdef GFLAGS
  11. #pragma once
  12. #include "db_stress_tool/db_stress_test_base.h"
  13. namespace ROCKSDB_NAMESPACE {
  14. void ThreadBody(void* /*thread_state*/);
  15. bool RunStressTest(SharedState*);
  16. } // namespace ROCKSDB_NAMESPACE
  17. #endif // GFLAGS