diff options
Diffstat (limited to 'util/log_write_bench.cc')
-rw-r--r-- | util/log_write_bench.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/log_write_bench.cc b/util/log_write_bench.cc index 0b5eee00a..60798babf 100644 --- a/util/log_write_bench.cc +++ b/util/log_write_bench.cc @@ -29,7 +29,7 @@ DEFINE_int32(record_interval, 10000, "Interval between records (microSec)"); DEFINE_int32(bytes_per_sync, 0, "bytes_per_sync parameter in EnvOptions"); DEFINE_bool(enable_sync, false, "sync after each write."); -namespace rocksdb { +namespace ROCKSDB_NAMESPACE { void RunBenchmark() { std::string file_name = test::PerThreadDBPath("log_write_benchmark.log"); DBOptions options; @@ -72,14 +72,14 @@ void RunBenchmark() { fprintf(stderr, "Distribution of latency of append+flush: \n%s", hist.ToString().c_str()); } -} // namespace rocksdb +} // namespace ROCKSDB_NAMESPACE int main(int argc, char** argv) { SetUsageMessage(std::string("\nUSAGE:\n") + std::string(argv[0]) + " [OPTIONS]..."); ParseCommandLineFlags(&argc, &argv, true); - rocksdb::RunBenchmark(); + ROCKSDB_NAMESPACE::RunBenchmark(); return 0; } |