proxygen
ConcurrentSkipListBenchmark.cpp File Reference
#include <map>
#include <memory>
#include <random>
#include <set>
#include <thread>
#include <folly/Benchmark.h>
#include <folly/ConcurrentSkipList.h>
#include <folly/hash/Hash.h>
#include <folly/portability/GFlags.h>
#include <folly/synchronization/RWSpinLock.h>
#include <glog/logging.h>

Go to the source code of this file.

Functions

 DEFINE_int32 (num_threads, 12,"num concurrent threads to test")
 
 DEFINE_int32 (num_sets, 1,"num of set to operate on")
 
int main (int argc, char **argv)
 

Variables

static const int kInitHeadHeight = 10
 
static const int kMaxValue = 0x1000000
 

Function Documentation

DEFINE_int32 ( num_threads  ,
12  ,
"num concurrent threads to test  
)
DEFINE_int32 ( num_sets  ,
,
"num of set to operate on"   
)
int main ( int  argc,
char **  argv 
)

Definition at line 601 of file ConcurrentSkipListBenchmark.cpp.

References folly::runBenchmarks().

601  {
602  google::InitGoogleLogging(argv[0]);
603  gflags::ParseCommandLineFlags(&argc, &argv, true);
604 
605  initData();
606  runBenchmarks();
607  return 0;
608 }
void runBenchmarks()
Definition: Benchmark.cpp:456
char ** argv

Variable Documentation

const int kInitHeadHeight = 10
static

Definition at line 39 of file ConcurrentSkipListBenchmark.cpp.

const int kMaxValue = 0x1000000
static

Definition at line 40 of file ConcurrentSkipListBenchmark.cpp.