proxygen
DwarfBenchmark.cpp File Reference

Go to the source code of this file.

Functions

void dummy ()
 
 BENCHMARK (DwarfFindAddressFast, n)
 
 BENCHMARK (DwarfFindAddressFull, n)
 
int main (int argc, char *argv[])
 

Function Documentation

BENCHMARK ( DwarfFindAddressFast  ,
 
)

Definition at line 42 of file DwarfBenchmark.cpp.

References folly::symbolizer::Dwarf::FAST, and folly::run().

42  {
44 }
static void run(EventBaseManager *ebm, EventBase *eb, folly::Baton<> *stop, const StringPiece &name)
BENCHMARK ( DwarfFindAddressFull  ,
 
)

Definition at line 46 of file DwarfBenchmark.cpp.

References folly::symbolizer::Dwarf::FULL, and folly::run().

46  {
48 }
static void run(EventBaseManager *ebm, EventBase *eb, folly::Baton<> *stop, const StringPiece &name)
int main ( int  argc,
char *  argv[] 
)

Definition at line 50 of file DwarfBenchmark.cpp.

References folly::runBenchmarksOnFlag().

50  {
51  gflags::ParseCommandLineFlags(&argc, &argv, true);
52  google::InitGoogleLogging(argv[0]);
54  return 0;
55 }
char ** argv
bool runBenchmarksOnFlag()
Definition: Benchmark.h:48