Fix db_bench
Summary: Fix simple issue with FLAGS_simcache_size condition Test Plan: run db_bench Reviewers: lightmark Reviewed By: lightmark Subscribers: andrewkr, dhruba Differential Revision: https://reviews.facebook.net/D58743
This commit is contained in:
parent
5d660258e7
commit
9dd50d9902
@ -2117,7 +2117,7 @@ class Benchmark {
|
|||||||
if (FLAGS_statistics) {
|
if (FLAGS_statistics) {
|
||||||
fprintf(stdout, "STATISTICS:\n%s\n", dbstats->ToString().c_str());
|
fprintf(stdout, "STATISTICS:\n%s\n", dbstats->ToString().c_str());
|
||||||
}
|
}
|
||||||
if (FLAGS_simcache_size) {
|
if (FLAGS_simcache_size >= 0) {
|
||||||
fprintf(stdout, "SIMULATOR CACHE STATISTICS:\n%s\n",
|
fprintf(stdout, "SIMULATOR CACHE STATISTICS:\n%s\n",
|
||||||
std::dynamic_pointer_cast<SimCache>(cache_)->ToString().c_str());
|
std::dynamic_pointer_cast<SimCache>(cache_)->ToString().c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user