|
enum | Order { SEQUENTIAL,
RANDOM,
SEQUENTIAL,
RANDOM
} |
|
enum | DBState { FRESH,
EXISTING,
FRESH,
EXISTING
} |
|
enum | Order { SEQUENTIAL,
RANDOM,
SEQUENTIAL,
RANDOM
} |
|
enum | DBState { FRESH,
EXISTING,
FRESH,
EXISTING
} |
|
Definition at line 302 of file db_bench.cc.
leveldb::Benchmark::Benchmark |
( |
| ) |
|
|
inline |
leveldb::Benchmark::~Benchmark |
( |
| ) |
|
|
inline |
leveldb::Benchmark::Benchmark |
( |
| ) |
|
|
inline |
leveldb::Benchmark::~Benchmark |
( |
| ) |
|
|
inline |
leveldb::Benchmark::Benchmark |
( |
| ) |
|
|
inline |
leveldb::Benchmark::~Benchmark |
( |
| ) |
|
|
inline |
void leveldb::Benchmark::AcquireLoad |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::Compact |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::Crc32c |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::DeleteRandom |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::DeleteSeq |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::DoDelete |
( |
ThreadState * |
thread, |
|
|
bool |
seq |
|
) |
| |
|
inlineprivate |
void leveldb::Benchmark::DoWrite |
( |
ThreadState * |
thread, |
|
|
bool |
seq |
|
) |
| |
|
inlineprivate |
void leveldb::Benchmark::FinishedSingleOp |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::FinishedSingleOp |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::HeapProfile |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::Open |
( |
bool |
sync | ) |
|
|
inlineprivate |
void leveldb::Benchmark::Open |
( |
| ) |
|
|
inline |
void leveldb::Benchmark::Open |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintEnvironment |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintEnvironment |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintEnvironment |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintHeader |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintHeader |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintHeader |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintStats |
( |
const char * |
key | ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintWarnings |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintWarnings |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::PrintWarnings |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::Read |
( |
Order |
order, |
|
|
int |
entries_per_batch |
|
) |
| |
|
inline |
void leveldb::Benchmark::ReadHot |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::ReadMissing |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::ReadRandom |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::ReadRandom |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::ReadReverse |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::ReadSequential |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::ReadSequential |
( |
| ) |
|
|
inline |
void leveldb::Benchmark::ReadSequential |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::ReadWhileWriting |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::Run |
( |
| ) |
|
|
inline |
void leveldb::Benchmark::Run |
( |
| ) |
|
|
inline |
void leveldb::Benchmark::Run |
( |
| ) |
|
|
inline |
void leveldb::Benchmark::RunBenchmark |
( |
int |
n, |
|
|
Slice |
name, |
|
|
void(Benchmark::*)(ThreadState *) |
method |
|
) |
| |
|
inlineprivate |
void leveldb::Benchmark::SeekRandom |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::SnappyCompress |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::SnappyUncompress |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::Start |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::Start |
( |
| ) |
|
|
inlineprivate |
void leveldb::Benchmark::Stop |
( |
const Slice & |
name | ) |
|
|
inlineprivate |
void leveldb::Benchmark::Stop |
( |
const Slice & |
name | ) |
|
|
inlineprivate |
static void leveldb::Benchmark::ThreadBody |
( |
void * |
v | ) |
|
|
inlinestaticprivate |
void leveldb::Benchmark::Write |
( |
bool |
sync, |
|
|
Order |
order, |
|
|
DBState |
state, |
|
|
int |
num_entries, |
|
|
int |
value_size, |
|
|
int |
entries_per_batch |
|
) |
| |
|
inlineprivate |
void leveldb::Benchmark::Write |
( |
bool |
write_sync, |
|
|
Order |
order, |
|
|
DBState |
state, |
|
|
int |
num_entries, |
|
|
int |
value_size, |
|
|
int |
entries_per_batch |
|
) |
| |
|
inline |
void leveldb::Benchmark::WriteRandom |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
void leveldb::Benchmark::WriteSeq |
( |
ThreadState * |
thread | ) |
|
|
inlineprivate |
static void leveldb::Benchmark::WriteToFile |
( |
void * |
arg, |
|
|
const char * |
buf, |
|
|
int |
n |
|
) |
| |
|
inlinestaticprivate |
Cache* leveldb::Benchmark::cache_ |
|
private |
kyotocabinet::LZOCompressor<kyotocabinet::LZO::RAW> leveldb::Benchmark::comp_ |
|
private |
kyotocabinet::TreeDB* leveldb::Benchmark::db_ |
|
private |
sqlite3* leveldb::Benchmark::db_ |
|
private |
DB* leveldb::Benchmark::db_ |
|
private |
int leveldb::Benchmark::db_num_ |
|
private |
int leveldb::Benchmark::done_ |
|
private |
int leveldb::Benchmark::entries_per_batch_ |
|
private |
RandomGenerator leveldb::Benchmark::gen_ |
|
private |
int leveldb::Benchmark::heap_counter_ |
|
private |
double leveldb::Benchmark::last_op_finish_ |
|
private |
std::string leveldb::Benchmark::message_ |
|
private |
int leveldb::Benchmark::next_report_ |
|
private |
int leveldb::Benchmark::num_ |
|
private |
Random leveldb::Benchmark::rand_ |
|
private |
int leveldb::Benchmark::reads_ |
|
private |
double leveldb::Benchmark::start_ |
|
private |
int leveldb::Benchmark::value_size_ |
|
private |
The documentation for this class was generated from the following files: