Namespaces | Typedefs | Functions | Variables
benchmark_main.cc File Reference
#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>
Include dependency graph for benchmark_main.cc:

Go to the source code of this file.

Namespaces

 testing
 

Typedefs

typedef std::map< std::string, ::testing::Benchmark * > BenchmarkMap
 
typedef BenchmarkMap::iterator BenchmarkMapIt
 

Functions

BenchmarkMapgBenchmarks ()
 
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 Documentation

◆ BenchmarkMap

typedef std::map<std::string, ::testing::Benchmark*> BenchmarkMap

Definition at line 29 of file benchmark_main.cc.

◆ BenchmarkMapIt

typedef BenchmarkMap::iterator BenchmarkMapIt

Definition at line 30 of file benchmark_main.cc.

Function Documentation

◆ gBenchmarks()

BenchmarkMap& gBenchmarks ( )

Definition at line 32 of file benchmark_main.cc.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 207 of file benchmark_main.cc.

◆ NanoTime()

static int64_t NanoTime ( )
static

Definition at line 61 of file benchmark_main.cc.

◆ Round()

static int Round ( int  n)
static

Definition at line 39 of file benchmark_main.cc.

◆ SetBenchmarkFlopsProcessed()

void SetBenchmarkFlopsProcessed ( int64_t  x)

Definition at line 193 of file benchmark_main.cc.

◆ StartBenchmarkTiming()

void StartBenchmarkTiming ( )

Definition at line 202 of file benchmark_main.cc.

◆ StopBenchmarkTiming()

void StopBenchmarkTiming ( )

Definition at line 196 of file benchmark_main.cc.

Variable Documentation

◆ g_benchmark_start_time_ns

int64_t g_benchmark_start_time_ns
static

Definition at line 28 of file benchmark_main.cc.

◆ g_benchmark_total_time_ns

int64_t g_benchmark_total_time_ns
static

Definition at line 27 of file benchmark_main.cc.

◆ g_flops_processed

int64_t g_flops_processed
static

Definition at line 26 of file benchmark_main.cc.

◆ g_name_column_width

int g_name_column_width = 20
static

Definition at line 37 of file benchmark_main.cc.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:47