proxygen
RefCountBenchmark.cpp File Reference
#include <thread>
#include <folly/Benchmark.h>
#include <folly/experimental/TLRefCount.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

template<typename Counter >
void folly::shutdown (Counter &)
 
void folly::shutdown (TLRefCount &c)
 
template<typename Counter , size_t threadCount>
void folly::benchmark (size_t n)
 
 folly::BENCHMARK (TLRefCountOneThread, n)
 
 folly::BENCHMARK (TLRefCountFourThreads, n)
 
int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 65 of file RefCountBenchmark.cpp.

References folly::runBenchmarks().

65  {
66  gflags::ParseCommandLineFlags(&argc, &argv, true);
67  gflags::SetCommandLineOptionWithMode(
68  "bm_min_usec", "100000", gflags::SET_FLAG_IF_DEFAULT);
69 
71 
72  return 0;
73 }
void runBenchmarks()
Definition: Benchmark.cpp:456
char ** argv