leveldb
Classes | Functions | Variables
leveldb::anonymous_namespace{db_bench.cc} Namespace Reference

Classes

class  RandomGenerator
 
struct  SharedState
 
class  Stats
 
struct  ThreadState
 

Functions

static void AppendWithSpace (std::string *str, Slice msg)
 

Variables

leveldb::Envg_env = NULL
 

Function Documentation

§ AppendWithSpace()

static void leveldb::anonymous_namespace{db_bench.cc}::AppendWithSpace ( std::string *  str,
Slice  msg 
)
static

Definition at line 168 of file db_bench.cc.

168  {
169  if (msg.empty()) return;
170  if (!str->empty()) {
171  str->push_back(' ');
172  }
173  str->append(msg.data(), msg.size());
174 }
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

§ g_env

leveldb::Env* leveldb::anonymous_namespace{db_bench.cc}::g_env = NULL

Definition at line 120 of file db_bench.cc.