From 2b59c5a8d85595b64f9503ca1281ddda718d6b9c Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Tue, 2 Dec 2014 01:25:38 +0800 Subject: [PATCH] common/Initialize.h: add header file to Makefile.am Signed-off-by: Haomai Wang --- src/common/Makefile.am | 3 ++- src/test/objectstore/ObjectStoreTransactionBenchmark.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 9431c82d9af..8ee980d614e 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -209,7 +209,8 @@ noinst_HEADERS += \ common/module.h \ common/Continuation.h \ common/Readahead.h \ - common/Cycles.h + common/Cycles.h \ + common/Initialize.h noinst_LTLIBRARIES += libcommon.la diff --git a/src/test/objectstore/ObjectStoreTransactionBenchmark.cc b/src/test/objectstore/ObjectStoreTransactionBenchmark.cc index 541b32defef..0d7c73f337f 100644 --- a/src/test/objectstore/ObjectStoreTransactionBenchmark.cc +++ b/src/test/objectstore/ObjectStoreTransactionBenchmark.cc @@ -265,7 +265,7 @@ int main(int argc, char **argv) uint64_t times = atoi(args[0]); PerfCase c; uint64_t ticks = c.rados_write_4k(times); - Transaction.dump_stat(); + Transaction::dump_stat(); cerr << " Total rados op " << times << " run time " << Cycles::to_microseconds(ticks) << "us." << std::endl; return 0; -- 2.47.3