|
proxygen
|
#include <algorithm>#include <vector>#include <folly/CppAttributes.h>#include <folly/Random.h>#include <folly/lang/Assume.h>#include <folly/lang/Bits.h>#include <folly/Benchmark.h>Go to the source code of this file.
Functions | |
| BENCHMARK (nextPowTwoClz, iters) | |
| BENCHMARK_DRAW_LINE () | |
| BENCHMARK (isPowTwo, iters) | |
| BENCHMARK (reverse, iters) | |
| BENCHMARK (PartialLoadUnaligned, iters) | |
| BENCHMARK (PartialLoadUnalignedMemcpy, iters) | |
| BENCHMARK (PartialLoadUnalignedSwitch, iters) | |
| int | main (int argc, char **argv) |
| BENCHMARK | ( | nextPowTwoClz | , |
| iters | |||
| ) |
Definition at line 31 of file BitsBenchmark.cpp.
References folly::BENCHMARK_DRAW_LINE(), folly::doNotOptimizeAway(), i, and folly::nextPowTwo().
| BENCHMARK | ( | isPowTwo | , |
| iters | |||
| ) |
Definition at line 39 of file BitsBenchmark.cpp.
References b, folly::BENCHMARK_DRAW_LINE(), folly::doNotOptimizeAway(), i, and folly::isPowTwo().
| BENCHMARK | ( | reverse | , |
| iters | |||
| ) |
Definition at line 48 of file BitsBenchmark.cpp.
References folly::assume(), b, folly::BENCHMARK_DRAW_LINE(), BENCHMARK_SUSPEND, folly::bitReverse(), folly::doNotOptimizeAway(), f, FOLLY_FALLTHROUGH, i, folly::Random::rand32(), and uint64_t.
| BENCHMARK | ( | PartialLoadUnaligned | , |
| iters | |||
| ) |
Definition at line 126 of file BitsBenchmark.cpp.
| BENCHMARK | ( | PartialLoadUnalignedMemcpy | , |
| iters | |||
| ) |
| BENCHMARK | ( | PartialLoadUnalignedSwitch | , |
| iters | |||
| ) |
Definition at line 142 of file BitsBenchmark.cpp.
| BENCHMARK_DRAW_LINE | ( | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |