Go to the source code of this file.
Classes | |
struct | CustomFixture |
Macros | |
#define | ADD_CASES(...) int CONCAT(dummy, __LINE__) = AddCases({__VA_ARGS__}) |
#define | CONCAT(x, y) CONCAT2(x, y) |
#define | CONCAT2(x, y) x##y |
Typedefs | |
typedef benchmark::internal::Benchmark * | ReturnVal |
Functions | |
ADD_CASES ({"BM_function"}, {"BM_function_manual_registration"}) | |
ADD_CASES ({"test1", "One"}, {"test2", "Two"}, {"test3", "Three"}) | |
BENCHMARK (BM_function) | |
void | BM_extra_args (benchmark::State &st, const char *label) |
void | BM_function (benchmark::State &state) |
int | main (int argc, char *argv[]) |
int | RegisterFromFunction () |
void | RunTestOne () |
void | RunTestTwo () |
void | TestRegistrationAtRuntime () |
Variables | |
ReturnVal | dummy |
int | dummy2 = RegisterFromFunction() |
Definition at line 54 of file register_benchmark_test.cc.
typedef benchmark::internal::Benchmark* ReturnVal |
Definition at line 58 of file register_benchmark_test.cc.
ADD_CASES | ( | {"BM_function"} | , |
{"BM_function_manual_registration"} | |||
) |
ADD_CASES | ( | {"test1", "One"} | , |
{"test2", "Two"} | , | ||
{"test3", "Three"} | |||
) |
BENCHMARK | ( | BM_function | ) |
void BM_extra_args | ( | benchmark::State & | st, |
const char * | label | ||
) |
Definition at line 79 of file register_benchmark_test.cc.
void BM_function | ( | benchmark::State & | state | ) |
Definition at line 63 of file register_benchmark_test.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 177 of file register_benchmark_test.cc.
int RegisterFromFunction | ( | ) |
Definition at line 84 of file register_benchmark_test.cc.
void RunTestOne | ( | ) |
Definition at line 131 of file register_benchmark_test.cc.
void RunTestTwo | ( | ) |
Definition at line 151 of file register_benchmark_test.cc.
void TestRegistrationAtRuntime | ( | ) |
Definition at line 107 of file register_benchmark_test.cc.
ReturnVal dummy |
Definition at line 68 of file register_benchmark_test.cc.
int dummy2 = RegisterFromFunction() |
Definition at line 91 of file register_benchmark_test.cc.