Commit c4ab3049 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4136 add malloc status output refs[t:4136]

git-svn-id: file:///svn/toku/tokudb@36979 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2e57e663
......@@ -12,6 +12,7 @@
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <malloc.h>
#if defined(TOKUDB)
#include "trace_mem.h"
#endif
......@@ -356,8 +357,10 @@ static void benchmark_shutdown (void) {
r = db->close(db, 0);
assert(r == 0);
}
if (engine_status)
if (engine_status) {
print_engine_status(dbenv);
malloc_stats();
}
r = dbenv->close(dbenv, 0);
assert(r == 0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment