Public Member Functions | Private Attributes | List of all members
benchmark::internal::BenchmarkInstance Class Reference

#include <benchmark_api_internal.h>

Public Member Functions

AggregationReportMode aggregation_report_mode () const
 
 BenchmarkInstance (Benchmark *benchmark, int family_index, int per_family_instance_index, const std::vector< int64_t > &args, int threads)
 
BigO complexity () const
 
BigOFunccomplexity_lambda () const
 
int family_index () const
 
IterationCount iterations () const
 
bool measure_process_cpu_time () const
 
double min_time () const
 
const BenchmarkNamename () const
 
int per_family_instance_index () const
 
int repetitions () const
 
State Run (IterationCount iters, int thread_id, internal::ThreadTimer *timer, internal::ThreadManager *manager, internal::PerfCountersMeasurement *perf_counters_measurement) const
 
const std::vector< Statistics > & statistics () const
 
int threads () const
 
TimeUnit time_unit () const
 
bool use_manual_time () const
 
bool use_real_time () const
 

Private Attributes

AggregationReportMode aggregation_report_mode_
 
const std::vector< int64_t > & args_
 
Benchmarkbenchmark_
 
BigO complexity_
 
BigOFunccomplexity_lambda_
 
UserCounters counters_
 
const int family_index_
 
IterationCount iterations_
 
bool measure_process_cpu_time_
 
double min_time_
 
BenchmarkName name_
 
const int per_family_instance_index_
 
int repetitions_
 
const std::vector< Statistics > & statistics_
 
int threads_
 
TimeUnit time_unit_
 
bool use_manual_time_
 
bool use_real_time_
 

Detailed Description

Definition at line 18 of file benchmark/src/benchmark_api_internal.h.

Constructor & Destructor Documentation

◆ BenchmarkInstance()

benchmark::internal::BenchmarkInstance::BenchmarkInstance ( Benchmark benchmark,
int  family_index,
int  per_family_instance_index,
const std::vector< int64_t > &  args,
int  threads 
)

Definition at line 10 of file benchmark_api_internal.cc.

Member Function Documentation

◆ aggregation_report_mode()

AggregationReportMode benchmark::internal::BenchmarkInstance::aggregation_report_mode ( ) const
inline

Definition at line 27 of file benchmark/src/benchmark_api_internal.h.

◆ complexity()

BigO benchmark::internal::BenchmarkInstance::complexity ( ) const
inline

Definition at line 34 of file benchmark/src/benchmark_api_internal.h.

◆ complexity_lambda()

BigOFunc* benchmark::internal::BenchmarkInstance::complexity_lambda ( ) const
inline

Definition at line 35 of file benchmark/src/benchmark_api_internal.h.

◆ family_index()

int benchmark::internal::BenchmarkInstance::family_index ( ) const
inline

Definition at line 25 of file benchmark/src/benchmark_api_internal.h.

◆ iterations()

IterationCount benchmark::internal::BenchmarkInstance::iterations ( ) const
inline

Definition at line 39 of file benchmark/src/benchmark_api_internal.h.

◆ measure_process_cpu_time()

bool benchmark::internal::BenchmarkInstance::measure_process_cpu_time ( ) const
inline

Definition at line 31 of file benchmark/src/benchmark_api_internal.h.

◆ min_time()

double benchmark::internal::BenchmarkInstance::min_time ( ) const
inline

Definition at line 38 of file benchmark/src/benchmark_api_internal.h.

◆ name()

const BenchmarkName& benchmark::internal::BenchmarkInstance::name ( ) const
inline

Definition at line 24 of file benchmark/src/benchmark_api_internal.h.

◆ per_family_instance_index()

int benchmark::internal::BenchmarkInstance::per_family_instance_index ( ) const
inline

Definition at line 26 of file benchmark/src/benchmark_api_internal.h.

◆ repetitions()

int benchmark::internal::BenchmarkInstance::repetitions ( ) const
inline

Definition at line 37 of file benchmark/src/benchmark_api_internal.h.

◆ Run()

State benchmark::internal::BenchmarkInstance::Run ( IterationCount  iters,
int  thread_id,
internal::ThreadTimer timer,
internal::ThreadManager manager,
internal::PerfCountersMeasurement perf_counters_measurement 
) const

Definition at line 83 of file benchmark_api_internal.cc.

◆ statistics()

const std::vector<Statistics>& benchmark::internal::BenchmarkInstance::statistics ( ) const
inline

Definition at line 36 of file benchmark/src/benchmark_api_internal.h.

◆ threads()

int benchmark::internal::BenchmarkInstance::threads ( ) const
inline

Definition at line 40 of file benchmark/src/benchmark_api_internal.h.

◆ time_unit()

TimeUnit benchmark::internal::BenchmarkInstance::time_unit ( ) const
inline

Definition at line 30 of file benchmark/src/benchmark_api_internal.h.

◆ use_manual_time()

bool benchmark::internal::BenchmarkInstance::use_manual_time ( ) const
inline

Definition at line 33 of file benchmark/src/benchmark_api_internal.h.

◆ use_real_time()

bool benchmark::internal::BenchmarkInstance::use_real_time ( ) const
inline

Definition at line 32 of file benchmark/src/benchmark_api_internal.h.

Member Data Documentation

◆ aggregation_report_mode_

AggregationReportMode benchmark::internal::BenchmarkInstance::aggregation_report_mode_
private

Definition at line 51 of file benchmark/src/benchmark_api_internal.h.

◆ args_

const std::vector<int64_t>& benchmark::internal::BenchmarkInstance::args_
private

Definition at line 52 of file benchmark/src/benchmark_api_internal.h.

◆ benchmark_

Benchmark& benchmark::internal::BenchmarkInstance::benchmark_
private

Definition at line 48 of file benchmark/src/benchmark_api_internal.h.

◆ complexity_

BigO benchmark::internal::BenchmarkInstance::complexity_
private

Definition at line 57 of file benchmark/src/benchmark_api_internal.h.

◆ complexity_lambda_

BigOFunc* benchmark::internal::BenchmarkInstance::complexity_lambda_
private

Definition at line 58 of file benchmark/src/benchmark_api_internal.h.

◆ counters_

UserCounters benchmark::internal::BenchmarkInstance::counters_
private

Definition at line 59 of file benchmark/src/benchmark_api_internal.h.

◆ family_index_

const int benchmark::internal::BenchmarkInstance::family_index_
private

Definition at line 49 of file benchmark/src/benchmark_api_internal.h.

◆ iterations_

IterationCount benchmark::internal::BenchmarkInstance::iterations_
private

Definition at line 63 of file benchmark/src/benchmark_api_internal.h.

◆ measure_process_cpu_time_

bool benchmark::internal::BenchmarkInstance::measure_process_cpu_time_
private

Definition at line 54 of file benchmark/src/benchmark_api_internal.h.

◆ min_time_

double benchmark::internal::BenchmarkInstance::min_time_
private

Definition at line 62 of file benchmark/src/benchmark_api_internal.h.

◆ name_

BenchmarkName benchmark::internal::BenchmarkInstance::name_
private

Definition at line 47 of file benchmark/src/benchmark_api_internal.h.

◆ per_family_instance_index_

const int benchmark::internal::BenchmarkInstance::per_family_instance_index_
private

Definition at line 50 of file benchmark/src/benchmark_api_internal.h.

◆ repetitions_

int benchmark::internal::BenchmarkInstance::repetitions_
private

Definition at line 61 of file benchmark/src/benchmark_api_internal.h.

◆ statistics_

const std::vector<Statistics>& benchmark::internal::BenchmarkInstance::statistics_
private

Definition at line 60 of file benchmark/src/benchmark_api_internal.h.

◆ threads_

int benchmark::internal::BenchmarkInstance::threads_
private

Definition at line 64 of file benchmark/src/benchmark_api_internal.h.

◆ time_unit_

TimeUnit benchmark::internal::BenchmarkInstance::time_unit_
private

Definition at line 53 of file benchmark/src/benchmark_api_internal.h.

◆ use_manual_time_

bool benchmark::internal::BenchmarkInstance::use_manual_time_
private

Definition at line 56 of file benchmark/src/benchmark_api_internal.h.

◆ use_real_time_

bool benchmark::internal::BenchmarkInstance::use_real_time_
private

Definition at line 55 of file benchmark/src/benchmark_api_internal.h.


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


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