#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.
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 |
|
) |
| |
const int kInitHeadHeight = 10 |
|
static |
const int kMaxValue = 0x1000000 |
|
static |