]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/Initialize.h: add header file to Makefile.am 3043/head
authorHaomai Wang <haomaiwang@gmail.com>
Mon, 1 Dec 2014 17:25:38 +0000 (01:25 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Fri, 5 Dec 2014 08:40:22 +0000 (16:40 +0800)
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/common/Makefile.am
src/test/objectstore/ObjectStoreTransactionBenchmark.cc

index 9431c82d9affb19c16b86d7ae4040cf83cff7983..8ee980d614e9a1701f7203ee571fbf3819435100 100644 (file)
@@ -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
 
index 541b32defefa804c3b5cf8fb877229b8104cc40d..0d7c73f337fe4f73c68fe682f1d293bcb71c13c3 100644 (file)
@@ -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;