22 #include <glog/logging.h> 27 #if FOLLY_HAVE_EXTRANDOM_SFMT19937 31 using namespace folly;
35 std::random_device
rd;
36 std::minstd_rand
rng(
rd());
45 std::random_device
rd;
46 std::mt19937
rng(
rd());
53 #if FOLLY_HAVE_EXTRANDOM_SFMT19937 56 std::random_device
rd;
57 __gnu_cxx::sfmt19937
rng(
rd());
95 gflags::ParseCommandLineFlags(&argc, &argv,
true);
static bool oneIn(uint32_t n)
—— Concurrent Priority Queue Implementation ——
#define FOR_EACH_RANGE(i, begin, end)
int main(int argc, char **argv)
static double randDouble01()
BENCHMARK(fbFollyGlobalBenchmarkBaseline)
auto doNotOptimizeAway(const T &datum) -> typename std::enable_if< !detail::DoNotOptimizeAwayNeedsIndirect< T >::value >::type