Public Member Functions | Public Attributes | List of all members
benchmark::internal::Statistics Struct Reference

#include <benchmark.h>

Public Member Functions

 Statistics (const std::string &name, StatisticsFunc *compute, StatisticUnit unit=kTime)
 

Public Attributes

StatisticsFunccompute_
 
std::string name_
 
StatisticUnit unit_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Statistics()

benchmark::internal::Statistics::Statistics ( const std::string &  name,
StatisticsFunc compute,
StatisticUnit  unit = kTime 
)
inline

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

Member Data Documentation

◆ compute_

StatisticsFunc* benchmark::internal::Statistics::compute_

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

◆ name_

std::string benchmark::internal::Statistics::name_

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

◆ unit_

StatisticUnit benchmark::internal::Statistics::unit_

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


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


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