25 #include <boost/random.hpp> 35 using namespace folly;
53 #define VECTOR IntVector 56 #define VECTOR IntFBVector 59 #define VECTOR IntSmallVector 62 #define VECTOR IntList 67 #define VECTOR IntDeque 73 #define VECTOR StringVector 76 #define VECTOR StringFBVector 79 #define VECTOR StringSmallVector 82 #define VECTOR StringList 87 #define VECTOR StringDeque 93 #define VECTOR FBStringVector 96 #define VECTOR FBStringFBVector 101 gflags::ParseCommandLineFlags(&argc, &argv,
true);
102 gflags::SetCommandLineOptionWithMode(
103 "bm_max_iters",
"1000000", gflags::SET_FLAG_IF_DEFAULT);
104 gflags::SetCommandLineOptionWithMode(
105 "bm_min_iters",
"100000", gflags::SET_FLAG_IF_DEFAULT);
106 gflags::SetCommandLineOptionWithMode(
107 "bm_max_secs",
"1", gflags::SET_FLAG_IF_DEFAULT);
int main(int argc, char **argv)
—— Concurrent Priority Queue Implementation ——
vector< folly::fbstring > FBStringVector
vector< std::string > StringVector
deque< std::string > StringDeque
list< std::string > StringList