#include <benchmark.h>
Definition at line 21 of file benchmark.h.
◆ Benchmark() [1/2]
testing::Benchmark::Benchmark |
( |
const char * |
name, |
|
|
void(*)(int) |
fn |
|
) |
| |
|
inline |
◆ Benchmark() [2/2]
testing::Benchmark::Benchmark |
( |
const char * |
name, |
|
|
void(*)(int, int) |
fn_range |
|
) |
| |
|
inline |
◆ Arg()
◆ Name()
const char * testing::Benchmark::Name |
( |
| ) |
|
◆ Range()
◆ Register()
void testing::Benchmark::Register |
( |
const char * |
name, |
|
|
void(*)(int) |
fn, |
|
|
void(*)(int, int) |
fn_range |
|
) |
| |
|
private |
◆ Run()
void testing::Benchmark::Run |
( |
| ) |
|
◆ RunRepeatedlyWithArg()
void testing::Benchmark::RunRepeatedlyWithArg |
( |
int |
iterations, |
|
|
int |
arg |
|
) |
| |
|
private |
◆ RunWithArg()
void testing::Benchmark::RunWithArg |
( |
int |
arg | ) |
|
|
private |
◆ ShouldRun()
bool testing::Benchmark::ShouldRun |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ args_
std::vector<int> testing::Benchmark::args_ |
|
private |
◆ fn_
void(* testing::Benchmark::fn_) (int) |
|
private |
◆ fn_range_
void(* testing::Benchmark::fn_range_) (int, int) |
|
private |
◆ name_
const char* testing::Benchmark::name_ |
|
private |
The documentation for this class was generated from the following files: