Commit d2fbd4a5 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5351 remove printf


git-svn-id: file:///svn/toku/tokudb@49916 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6025ae4f
...@@ -140,8 +140,6 @@ void locktree_unit_test::test_simple_lock(void) { ...@@ -140,8 +140,6 @@ void locktree_unit_test::test_simple_lock(void) {
invariant(r == 0); invariant(r == 0);
} }
t1 = current_time_usec(); t1 = current_time_usec();
printf(PRId64 " locks acquired in %zd usec, %lf locks/sec\n",
num_locks, t1 - t0, num_locks / ((t1 - t0*1.0) / 1000000));
t0 = current_time_usec(); t0 = current_time_usec();
for (int64_t i = 0; i < num_locks; i++) { for (int64_t i = 0; i < num_locks; i++) {
...@@ -149,8 +147,6 @@ void locktree_unit_test::test_simple_lock(void) { ...@@ -149,8 +147,6 @@ void locktree_unit_test::test_simple_lock(void) {
lt->remove_overlapping_locks_for_txnid(txnid_a, &k, &k); lt->remove_overlapping_locks_for_txnid(txnid_a, &k, &k);
} }
t1 = current_time_usec(); t1 = current_time_usec();
printf(PRId64 " locks released in %zd usec, %lf locks/sec\n",
num_locks, t1 - t0, num_locks / ((t1 - t0*1.0) / 1000000));
toku_free(keys); toku_free(keys);
......
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