|
proxygen
|
#include <folly/Benchmark.h>#include <folly/ThreadLocal.h>#include <condition_variable>#include <mutex>#include <thread>Go to the source code of this file.
Functions | |
| template<typename Tag1 , typename Tag2 > | |
| void | runTestTag (int iters, int numThreads) |
| void | runTestSameTag (int iters, int numThreads) |
| void | runTestDiffTag (int iters, int numThreads) |
| BENCHMARK_DRAW_LINE () | |
| int | main (int argc, char *argv[]) |
| BENCHMARK_DRAW_LINE | ( | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void runTestDiffTag | ( | int | iters, |
| int | numThreads | ||
| ) |
Definition at line 99 of file ThreadLocalDestroyBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), BENCHMARK_PARAM, and runTestSameTag().
| void runTestSameTag | ( | int | iters, |
| int | numThreads | ||
| ) |
Definition at line 95 of file ThreadLocalDestroyBenchmark.cpp.
Referenced by runTestDiffTag().
| void runTestTag | ( | int | iters, |
| int | numThreads | ||
| ) |
Definition at line 26 of file ThreadLocalDestroyBenchmark.cpp.
References folly::BenchmarkSuspender::dismiss(), i, m, mutex, folly::BenchmarkSuspender::rehire(), folly::ThreadLocalPtr< T, Tag, AccessMode >::reset(), folly::pushmi::detail::t, and threads.