Commit 520ed5e2 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4779 fix the comments in the lock tree memory footprint tests closes[t:4779]

git-svn-id: file:///svn/toku/tokudb@42741 c7de825b-a66e-492c-adef-691d508d4ae1
parent 310d738e
// benchmark point write locks acquisition rate.
// rate = nrows / time to execute the benchmark.
// measure the lock tree memory footprint while acquiring point write locks.
// this test assumes that the lock tree lock limits and lock memory limites are big enough to store the locks
// without the need for lock escalation.
//
// example: ./benchmark_point_write_locks.tlog --max_locks 1000000 --max_lock_memory 1000000000 --nrows 1000000
// example: ./test_footprint_point_write.tlog --max_locks 1000000 --max_lock_memory 1000000000 --nrows 1000000
#define TOKU_ALLOW_DEPRECATED
#include <malloc.h>
......
// benchmark point write locks acquisition rate.
// rate = nrows / time to execute the benchmark.
// measure the lock tree memory footprint while acquiring range lwrite locks.
// this test assumes that the lock tree lock limits and lock memory limites are big enough to store the locks
// without the need for lock escalation.
//
// example: ./benchmark_point_write_locks.tlog --max_locks 1000000 --max_lock_memory 1000000000 --nrows 1000000
// example: ./test_footprint_range_write.tlog --max_locks 1000000 --max_lock_memory 1000000000 --nrows 1000000
#define TOKU_ALLOW_DEPRECATED
#include <malloc.h>
......
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