proxygen
|
#include <stdexcept>
#include <thread>
#include <vector>
#include <glog/logging.h>
#include <folly/Benchmark.h>
#include <folly/experimental/exception_tracer/ExceptionTracer.h>
#include <folly/portability/GFlags.h>
Go to the source code of this file.
Functions | |
void | recurse (int level) |
void | loop (int iters) |
BENCHMARK (ExceptionTracer, iters) | |
int | main (int argc, char *argv[]) |
BENCHMARK | ( | ExceptionTracer | , |
iters | |||
) |
Definition at line 45 of file ExceptionTracerBenchmark.cpp.
References kNumThreads, loop(), folly::pushmi::detail::t, and threads.
void loop | ( | int | iters | ) |
Definition at line 35 of file ExceptionTracerBenchmark.cpp.
References folly::exception_tracer::getCurrentExceptions(), i, and recurse().
Referenced by BENCHMARK(), folly::EventBase::EventBase(), fizz::tool::fizzServerCommand(), main(), runBenchmark(), and TEST_F().
int main | ( | int | argc, |
char * | argv[] | ||
) |
void recurse | ( | int | level | ) |
Definition at line 27 of file ExceptionTracerBenchmark.cpp.
References folly::doNotOptimizeAway().
Referenced by loop().