Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
benchmark::BenchmarkReporter::Run Struct Reference

#include <benchmark.h>

Public Types

enum  RunType { RT_Iteration, RT_Aggregate }
 

Public Member Functions

std::string benchmark_name () const
 
double GetAdjustedCPUTime () const
 
double GetAdjustedCPUTime () const
 
double GetAdjustedCPUTime () const
 
double GetAdjustedRealTime () const
 
double GetAdjustedRealTime () const
 
double GetAdjustedRealTime () const
 
 Run ()
 
 Run ()
 
 Run ()
 

Public Attributes

std::string aggregate_name
 
StatisticUnit aggregate_unit
 
double allocs_per_iter
 
std::string benchmark_name
 
double bytes_per_second
 
BigO complexity
 
BigOFunccomplexity_lambda
 
int complexity_n
 
int64_t complexity_n
 
UserCounters counters
 
double cpu_accumulated_time
 
std::string error_message
 
bool error_occurred
 
int64_t family_index
 
bool has_memory_result
 
double items_per_second
 
int64_t iterations
 
IterationCount iterations
 
int64_t max_bytes_used
 
double max_heapbytes_used
 
int64_t per_family_instance_index
 
double real_accumulated_time
 
int64_t repetition_index
 
int64_t repetitions
 
bool report_big_o
 
std::string report_label
 
bool report_rms
 
BenchmarkName run_name
 
RunType run_type
 
const std::vector< internal::Statistics > * statistics
 
int64_t threads
 
TimeUnit time_unit
 

Static Public Attributes

static const int64_t no_repetition_index = -1
 

Detailed Description

Definition at line 1423 of file benchmark/include/benchmark/benchmark.h.

Member Enumeration Documentation

◆ RunType

Enumerator
RT_Iteration 
RT_Aggregate 

Definition at line 1425 of file benchmark/include/benchmark/benchmark.h.

Constructor & Destructor Documentation

◆ Run() [1/3]

benchmark::BenchmarkReporter::Run::Run ( )
inline

Definition at line 1427 of file benchmark/include/benchmark/benchmark.h.

◆ Run() [2/3]

benchmark::BenchmarkReporter::Run::Run ( )
inline

◆ Run() [3/3]

benchmark::BenchmarkReporter::Run::Run ( )
inline

Member Function Documentation

◆ benchmark_name()

std::string benchmark::BenchmarkReporter::Run::benchmark_name ( ) const

◆ GetAdjustedCPUTime() [1/3]

double benchmark::BenchmarkReporter::Run::GetAdjustedCPUTime ( ) const

◆ GetAdjustedCPUTime() [2/3]

double benchmark::BenchmarkReporter::Run::GetAdjustedCPUTime ( ) const

◆ GetAdjustedCPUTime() [3/3]

double benchmark::BenchmarkReporter::Run::GetAdjustedCPUTime ( ) const

Definition at line 110 of file benchmark/src/reporter.cc.

◆ GetAdjustedRealTime() [1/3]

double benchmark::BenchmarkReporter::Run::GetAdjustedRealTime ( ) const

◆ GetAdjustedRealTime() [2/3]

double benchmark::BenchmarkReporter::Run::GetAdjustedRealTime ( ) const

◆ GetAdjustedRealTime() [3/3]

double benchmark::BenchmarkReporter::Run::GetAdjustedRealTime ( ) const

Definition at line 104 of file benchmark/src/reporter.cc.

Member Data Documentation

◆ aggregate_name

std::string benchmark::BenchmarkReporter::Run::aggregate_name

Definition at line 1452 of file benchmark/include/benchmark/benchmark.h.

◆ aggregate_unit

StatisticUnit benchmark::BenchmarkReporter::Run::aggregate_unit

Definition at line 1453 of file benchmark/include/benchmark/benchmark.h.

◆ allocs_per_iter

double benchmark::BenchmarkReporter::Run::allocs_per_iter

Definition at line 1497 of file benchmark/include/benchmark/benchmark.h.

◆ benchmark_name

std::string benchmark::BenchmarkReporter::Run::benchmark_name

◆ bytes_per_second

double benchmark::BenchmarkReporter::Run::bytes_per_second

◆ complexity

BigO benchmark::BenchmarkReporter::Run::complexity

Definition at line 1482 of file benchmark/include/benchmark/benchmark.h.

◆ complexity_lambda

BigOFunc * benchmark::BenchmarkReporter::Run::complexity_lambda

Definition at line 1483 of file benchmark/include/benchmark/benchmark.h.

◆ complexity_n [1/2]

int benchmark::BenchmarkReporter::Run::complexity_n

◆ complexity_n [2/2]

int benchmark::BenchmarkReporter::Run::complexity_n

Definition at line 1484 of file benchmark/include/benchmark/benchmark.h.

◆ counters

UserCounters benchmark::BenchmarkReporter::Run::counters

Definition at line 1493 of file benchmark/include/benchmark/benchmark.h.

◆ cpu_accumulated_time

double benchmark::BenchmarkReporter::Run::cpu_accumulated_time

Definition at line 1464 of file benchmark/include/benchmark/benchmark.h.

◆ error_message

std::string benchmark::BenchmarkReporter::Run::error_message

Definition at line 1456 of file benchmark/include/benchmark/benchmark.h.

◆ error_occurred

bool benchmark::BenchmarkReporter::Run::error_occurred

Definition at line 1455 of file benchmark/include/benchmark/benchmark.h.

◆ family_index

int64_t benchmark::BenchmarkReporter::Run::family_index

Definition at line 1449 of file benchmark/include/benchmark/benchmark.h.

◆ has_memory_result

bool benchmark::BenchmarkReporter::Run::has_memory_result

Definition at line 1496 of file benchmark/include/benchmark/benchmark.h.

◆ items_per_second

double benchmark::BenchmarkReporter::Run::items_per_second

◆ iterations [1/2]

int64_t benchmark::BenchmarkReporter::Run::iterations

◆ iterations [2/2]

int64_t benchmark::BenchmarkReporter::Run::iterations

Definition at line 1458 of file benchmark/include/benchmark/benchmark.h.

◆ max_bytes_used

int64_t benchmark::BenchmarkReporter::Run::max_bytes_used

Definition at line 1498 of file benchmark/include/benchmark/benchmark.h.

◆ max_heapbytes_used

double benchmark::BenchmarkReporter::Run::max_heapbytes_used

Definition at line 1479 of file benchmark/include/benchmark/benchmark.h.

◆ no_repetition_index

const int64_t benchmark::BenchmarkReporter::Run::no_repetition_index = -1
static

Definition at line 1424 of file benchmark/include/benchmark/benchmark.h.

◆ per_family_instance_index

int64_t benchmark::BenchmarkReporter::Run::per_family_instance_index

Definition at line 1450 of file benchmark/include/benchmark/benchmark.h.

◆ real_accumulated_time

double benchmark::BenchmarkReporter::Run::real_accumulated_time

Definition at line 1463 of file benchmark/include/benchmark/benchmark.h.

◆ repetition_index

int64_t benchmark::BenchmarkReporter::Run::repetition_index

Definition at line 1460 of file benchmark/include/benchmark/benchmark.h.

◆ repetitions

int64_t benchmark::BenchmarkReporter::Run::repetitions

Definition at line 1461 of file benchmark/include/benchmark/benchmark.h.

◆ report_big_o

bool benchmark::BenchmarkReporter::Run::report_big_o

Definition at line 1490 of file benchmark/include/benchmark/benchmark.h.

◆ report_label

std::string benchmark::BenchmarkReporter::Run::report_label

Definition at line 1454 of file benchmark/include/benchmark/benchmark.h.

◆ report_rms

bool benchmark::BenchmarkReporter::Run::report_rms

Definition at line 1491 of file benchmark/include/benchmark/benchmark.h.

◆ run_name

BenchmarkName benchmark::BenchmarkReporter::Run::run_name

Definition at line 1448 of file benchmark/include/benchmark/benchmark.h.

◆ run_type

RunType benchmark::BenchmarkReporter::Run::run_type

Definition at line 1451 of file benchmark/include/benchmark/benchmark.h.

◆ statistics

const std::vector<internal::Statistics>* benchmark::BenchmarkReporter::Run::statistics

Definition at line 1487 of file benchmark/include/benchmark/benchmark.h.

◆ threads

int64_t benchmark::BenchmarkReporter::Run::threads

Definition at line 1459 of file benchmark/include/benchmark/benchmark.h.

◆ time_unit

TimeUnit benchmark::BenchmarkReporter::Run::time_unit

Definition at line 1462 of file benchmark/include/benchmark/benchmark.h.


The documentation for this struct was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57