#include "benchmark.h"
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <inttypes.h>
#include <time.h>
#include <map>
Go to the source code of this file.
Namespaces | |
testing | |
Typedefs | |
typedef std::map< std::string, ::testing::Benchmark * > | BenchmarkMap |
typedef BenchmarkMap::iterator | BenchmarkMapIt |
Functions | |
BenchmarkMap & | gBenchmarks () |
int | main (int argc, char *argv[]) |
static int64_t | NanoTime () |
static int | Round (int n) |
void | SetBenchmarkFlopsProcessed (int64_t x) |
void | StartBenchmarkTiming () |
void | StopBenchmarkTiming () |
Variables | |
static int64_t | g_benchmark_start_time_ns |
static int64_t | g_benchmark_total_time_ns |
static int64_t | g_flops_processed |
static int | g_name_column_width = 20 |
typedef std::map<std::string, ::testing::Benchmark*> BenchmarkMap |
Definition at line 29 of file benchmark_main.cc.
typedef BenchmarkMap::iterator BenchmarkMapIt |
Definition at line 30 of file benchmark_main.cc.
BenchmarkMap& gBenchmarks | ( | ) |
Definition at line 32 of file benchmark_main.cc.
Definition at line 207 of file benchmark_main.cc.
|
static |
Definition at line 61 of file benchmark_main.cc.
Definition at line 39 of file benchmark_main.cc.
void SetBenchmarkFlopsProcessed | ( | int64_t | x | ) |
Definition at line 193 of file benchmark_main.cc.
void StartBenchmarkTiming | ( | ) |
Definition at line 202 of file benchmark_main.cc.
void StopBenchmarkTiming | ( | ) |
Definition at line 196 of file benchmark_main.cc.
|
static |
Definition at line 28 of file benchmark_main.cc.
|
static |
Definition at line 27 of file benchmark_main.cc.
|
static |
Definition at line 26 of file benchmark_main.cc.
|
static |
Definition at line 37 of file benchmark_main.cc.