![]() |
|
#include <stddef.h>#include <stdint.h>#include <vector>Go to the source code of this file.
Classes | |
| class | testing::Benchmark |
Namespaces | |
| testing | |
Macros | |
| #define | BENCHMARK(f) static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = (new ::testing::Benchmark(#f, f)) |
Functions | |
| void | SetBenchmarkFlopsProcessed (int64_t) |
| void | StopBenchmarkTiming () |
| void | StartBenchmarkTiming () |
| #define BENCHMARK | ( | f | ) | static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = (new ::testing::Benchmark(#f, f)) |
| void SetBenchmarkFlopsProcessed | ( | int64_t | x | ) |
References g_flops_processed, and plotDoE::x.
Referenced by BenchmarkSuite< Device, T >::finalizeBenchmark().
| void StartBenchmarkTiming | ( | ) |
References g_benchmark_start_time_ns, and NanoTime().
Referenced by BenchmarkSuite< Device, T >::algebraicFunc(), BenchmarkSuite< Device, T >::broadcasting(), BenchmarkSuite< Device, T >::coeffWiseOp(), BenchmarkSuite< Device, T >::colChip(), BenchmarkSuite< Device, T >::colReduction(), BenchmarkSuite< Device, T >::contraction(), BenchmarkSuite< Device, T >::convolution(), BenchmarkSuite< Device, T >::fullReduction(), BenchmarkSuite< Device, T >::memcpy(), BenchmarkSuite< Device, T >::padding(), BenchmarkSuite< Device, T >::random(), BenchmarkSuite< Device, T >::rowChip(), BenchmarkSuite< Device, T >::rowReduction(), BenchmarkSuite< Device, T >::shuffling(), BenchmarkSuite< Device, T >::slicing(), BenchmarkSuite< Device, T >::striding(), BenchmarkSuite< Device, T >::transcendentalFunc(), and BenchmarkSuite< Device, T >::typeCasting().
| void StopBenchmarkTiming | ( | ) |
References g_benchmark_start_time_ns, g_benchmark_total_time_ns, and NanoTime().
Referenced by BenchmarkSuite< Device, T >::finalizeBenchmark().