#include <stdint.h>
#include <cassert>
#include <cstddef>
#include <iosfwd>
#include <string>
#include <vector>
#include <map>
#include <set>
Go to the source code of this file.
Classes | |
class | benchmark::internal::Benchmark |
class | benchmark::BenchmarkReporter |
class | benchmark::ConsoleReporter |
struct | benchmark::BenchmarkReporter::Context |
class | benchmark::Counter |
class | benchmark::CSVReporter |
class | benchmark::Fixture |
class | benchmark::internal::FunctionBenchmark |
class | benchmark::JSONReporter |
struct | benchmark::BenchmarkReporter::Run |
class | benchmark::State |
Namespaces | |
benchmark | |
benchmark::internal | |
Typedefs | |
typedef double() | benchmark::BigOFunc(int) |
typedef void() | benchmark::internal::Function(State &) |
typedef std::map< std::string, Counter > | benchmark::UserCounters |
Functions | |
void | benchmark::ClearRegisteredBenchmarks () |
template<class Tp > | |
BENCHMARK_ALWAYS_INLINE void | benchmark::DoNotOptimize (Tp const &value) |
double | benchmark::GetTimeUnitMultiplier (TimeUnit unit) |
const char * | benchmark::GetTimeUnitString (TimeUnit unit) |
void | benchmark::Initialize (int *argc, char **argv) |
int | benchmark::internal::InitializeStreams () |
internal::Benchmark * | benchmark::RegisterBenchmark (const char *name, internal::Function *fn) |
Benchmark * | benchmark::internal::RegisterBenchmarkInternal (Benchmark *) |
bool | benchmark::ReportUnrecognizedArguments (int argc, char **argv) |
size_t | benchmark::RunSpecifiedBenchmarks () |
size_t | benchmark::RunSpecifiedBenchmarks (BenchmarkReporter *console_reporter) |
size_t | benchmark::RunSpecifiedBenchmarks (BenchmarkReporter *console_reporter, BenchmarkReporter *file_reporter) |
void | benchmark::internal::UseCharPointer (char const volatile *) |
Variables | |
static BENCHMARK_UNUSED int | benchmark::internal::stream_init_anchor = InitializeStreams() |
#define BENCHMARK | ( | n | ) |
Definition at line 895 of file benchmark.h.
#define BENCHMARK_ALWAYS_INLINE |
Definition at line 219 of file benchmark.h.
Definition at line 231 of file benchmark.h.
#define BENCHMARK_DEFINE_F | ( | BaseClass, | |
Method | |||
) |
Definition at line 970 of file benchmark.h.
#define BENCHMARK_DEPRECATED_MSG | ( | msg | ) |
Definition at line 232 of file benchmark.h.
#define BENCHMARK_DISALLOW_COPY_AND_ASSIGN | ( | TypeName | ) |
Definition at line 192 of file benchmark.h.
#define BENCHMARK_F | ( | BaseClass, | |
Method | |||
) |
Definition at line 982 of file benchmark.h.
#define BENCHMARK_HAS_NO_INLINE_ASSEMBLY |
Definition at line 293 of file benchmark.h.
#define BENCHMARK_HAS_NO_VARIADIC_REGISTER_BENCHMARK |
Definition at line 846 of file benchmark.h.
#define BENCHMARK_INTERNAL_TOSTRING | ( | x | ) | BENCHMARK_INTERNAL_TOSTRING2(x) |
Definition at line 225 of file benchmark.h.
Definition at line 224 of file benchmark.h.
#define BENCHMARK_MAIN | ( | ) |
Definition at line 988 of file benchmark.h.
#define BENCHMARK_NOEXCEPT |
Definition at line 220 of file benchmark.h.
#define BENCHMARK_NOEXCEPT_OP | ( | x | ) |
Definition at line 221 of file benchmark.h.
#define BENCHMARK_PRIVATE_CONCAT | ( | a, | |
b, | |||
c | |||
) | BENCHMARK_PRIVATE_CONCAT2(a, b, c) |
Definition at line 888 of file benchmark.h.
#define BENCHMARK_PRIVATE_DECLARE | ( | n | ) |
Definition at line 891 of file benchmark.h.
#define BENCHMARK_PRIVATE_DECLARE_F | ( | BaseClass, | |
Method | |||
) |
Definition at line 959 of file benchmark.h.
#define BENCHMARK_PRIVATE_NAME | ( | n | ) | BENCHMARK_PRIVATE_CONCAT(_benchmark_, BENCHMARK_PRIVATE_UNIQUE_ID, n) |
Definition at line 886 of file benchmark.h.
#define BENCHMARK_PRIVATE_REGISTER_F | ( | TestName | ) |
Definition at line 977 of file benchmark.h.
#define BENCHMARK_PRIVATE_UNIQUE_ID __LINE__ |
Definition at line 882 of file benchmark.h.
Definition at line 904 of file benchmark.h.
#define BENCHMARK_RANGE2 | ( | n, | |
l1, | |||
h1, | |||
l2, | |||
h2 | |||
) | BENCHMARK(n)->RangePair({{(l1), (h1)}, {(l2), (h2)}}) |
Definition at line 905 of file benchmark.h.
#define BENCHMARK_REGISTER_F | ( | BaseClass, | |
Method | |||
) | BENCHMARK_PRIVATE_REGISTER_F(BaseClass##_##Method##_Benchmark) |
Definition at line 974 of file benchmark.h.
#define BENCHMARK_TEMPLATE | ( | n, | |
a | |||
) | BENCHMARK_TEMPLATE1(n, a) |
Definition at line 956 of file benchmark.h.
Definition at line 938 of file benchmark.h.
Definition at line 943 of file benchmark.h.
#define BENCHMARK_UNUSED |
Definition at line 218 of file benchmark.h.
#define BENCHMARK_WARNING_MSG | ( | msg | ) | __pragma(message(__FILE__ "(" BENCHMARK_INTERNAL_TOSTRING(__LINE__) ") : warning note: " msg)) |
Definition at line 233 of file benchmark.h.
Definition at line 901 of file benchmark.h.
Definition at line 902 of file benchmark.h.
Definition at line 903 of file benchmark.h.