Public Member Functions | Public Attributes | List of all members
MyFixture< T > Class Template Reference
Inheritance diagram for MyFixture< T >:
Inheritance graph
[legend]

Public Member Functions

 MyFixture ()
 
void SetUp (const ::benchmark::State &state)
 
void SetUp (const ::benchmark::State &state)
 
void TearDown (const ::benchmark::State &state)
 
void TearDown (const ::benchmark::State &state)
 
 ~MyFixture ()
 
 ~MyFixture ()
 
- Public Member Functions inherited from benchmark::Fixture
 Fixture ()
 
 Fixture ()
 
 Fixture ()
 
virtual void Run (State &st)
 
virtual void Run (State &st)
 
virtual void Run (State &st) BENCHMARK_OVERRIDE
 
virtual void SetUp (const State &)
 
virtual void SetUp (const State &)
 
virtual void SetUp (const State &)
 
virtual void SetUp (State &st)
 
virtual void SetUp (State &st)
 
virtual void SetUp (State &st)
 
virtual void TearDown (const State &)
 
virtual void TearDown (const State &)
 
virtual void TearDown (const State &)
 
virtual void TearDown (State &st)
 
virtual void TearDown (State &st)
 
virtual void TearDown (State &st)
 
- Public Member Functions inherited from benchmark::internal::Benchmark
BenchmarkApply (void(*func)(Benchmark *benchmark))
 
BenchmarkApply (void(*func)(Benchmark *benchmark))
 
BenchmarkApply (void(*func)(Benchmark *benchmark))
 
BenchmarkArg (int x)
 
BenchmarkArg (int x)
 
BenchmarkArg (int64_t x)
 
BenchmarkArgName (const std::string &name)
 
BenchmarkArgName (const std::string &name)
 
BenchmarkArgName (const std::string &name)
 
BenchmarkArgNames (const std::vector< std::string > &names)
 
BenchmarkArgNames (const std::vector< std::string > &names)
 
BenchmarkArgNames (const std::vector< std::string > &names)
 
BenchmarkArgPair (int x, int y)
 
BenchmarkArgPair (int x, int y)
 
BenchmarkArgPair (int64_t x, int64_t y)
 
BenchmarkArgs (const std::vector< int > &args)
 
BenchmarkArgs (const std::vector< int > &args)
 
BenchmarkArgs (const std::vector< int64_t > &args)
 
BenchmarkArgsProduct (const std::vector< std::vector< int64_t > > &arglists)
 
BenchmarkComplexity (BigO complexity=benchmark::oAuto)
 
BenchmarkComplexity (BigO complexity=benchmark::oAuto)
 
BenchmarkComplexity (BigO complexity=benchmark::oAuto)
 
BenchmarkComplexity (BigOFunc *complexity)
 
BenchmarkComplexity (BigOFunc *complexity)
 
BenchmarkComplexity (BigOFunc *complexity)
 
BenchmarkComputeStatistics (std::string name, StatisticsFunc *statistics, StatisticUnit unit=kTime)
 
BenchmarkDenseRange (int start, int limit, int step=1)
 
BenchmarkDenseRange (int start, int limit, int step=1)
 
BenchmarkDenseRange (int64_t start, int64_t limit, int step=1)
 
BenchmarkDenseThreadRange (int min_threads, int max_threads, int stride=1)
 
BenchmarkDenseThreadRange (int min_threads, int max_threads, int stride=1)
 
BenchmarkDenseThreadRange (int min_threads, int max_threads, int stride=1)
 
BenchmarkDisplayAggregatesOnly (bool value=true)
 
BenchmarkIterations (IterationCount n)
 
BenchmarkIterations (size_t n)
 
BenchmarkIterations (size_t n)
 
BenchmarkMeasureProcessCPUTime ()
 
BenchmarkMinTime (double t)
 
BenchmarkMinTime (double t)
 
BenchmarkMinTime (double t)
 
BenchmarkName (const std::string &name)
 
BenchmarkRange (int start, int limit)
 
BenchmarkRange (int start, int limit)
 
BenchmarkRange (int64_t start, int64_t limit)
 
BenchmarkRangeMultiplier (int multiplier)
 
BenchmarkRangeMultiplier (int multiplier)
 
BenchmarkRangeMultiplier (int multiplier)
 
BenchmarkRangePair (int lo1, int hi1, int lo2, int hi2)
 
BenchmarkRangePair (int lo1, int hi1, int lo2, int hi2)
 
BenchmarkRangePair (int64_t lo1, int64_t hi1, int64_t lo2, int64_t hi2)
 
BenchmarkRanges (const std::vector< std::pair< int, int > > &ranges)
 
BenchmarkRanges (const std::vector< std::pair< int, int > > &ranges)
 
BenchmarkRanges (const std::vector< std::pair< int64_t, int64_t > > &ranges)
 
BenchmarkRepetitions (int n)
 
BenchmarkRepetitions (int n)
 
BenchmarkRepetitions (int n)
 
BenchmarkReportAggregatesOnly (bool value=true)
 
BenchmarkReportAggregatesOnly (bool value=true)
 
BenchmarkReportAggregatesOnly (bool value=true)
 
BenchmarkThreadPerCpu ()
 
BenchmarkThreadPerCpu ()
 
BenchmarkThreadPerCpu ()
 
BenchmarkThreadRange (int min_threads, int max_threads)
 
BenchmarkThreadRange (int min_threads, int max_threads)
 
BenchmarkThreadRange (int min_threads, int max_threads)
 
BenchmarkThreads (int t)
 
BenchmarkThreads (int t)
 
BenchmarkThreads (int t)
 
BenchmarkUnit (TimeUnit unit)
 
BenchmarkUnit (TimeUnit unit)
 
BenchmarkUnit (TimeUnit unit)
 
BenchmarkUseManualTime ()
 
BenchmarkUseManualTime ()
 
BenchmarkUseManualTime ()
 
BenchmarkUseRealTime ()
 
BenchmarkUseRealTime ()
 
BenchmarkUseRealTime ()
 
virtual ~Benchmark ()
 
virtual ~Benchmark ()
 
virtual ~Benchmark ()
 

Public Attributes

T data
 
std::unique_ptr< intdata
 

Additional Inherited Members

- Protected Member Functions inherited from benchmark::Fixture
virtual void BenchmarkCase (State &)=0
 
virtual void BenchmarkCase (State &)=0
 
virtual void BenchmarkCase (State &)=0
 
- Protected Member Functions inherited from benchmark::internal::Benchmark
int ArgsCnt () const
 
int ArgsCnt () const
 
int ArgsCnt () const
 
 Benchmark (Benchmark const &)
 
 Benchmark (Benchmark const &)
 
 Benchmark (Benchmark const &)
 
 Benchmark (const char *name)
 
 Benchmark (const char *name)
 
 Benchmark (const char *name)
 
void SetName (const char *name)
 
void SetName (const char *name)
 
void SetName (const char *name)
 
- Static Protected Member Functions inherited from benchmark::internal::Benchmark
static void AddRange (std::vector< int > *dst, int lo, int hi, int mult)
 
static void AddRange (std::vector< int > *dst, int lo, int hi, int mult)
 

Detailed Description

template<typename T>
class MyFixture< T >

Definition at line 8 of file templated_fixture_test.cc.

Constructor & Destructor Documentation

◆ MyFixture()

template<typename T >
MyFixture< T >::MyFixture ( )
inline

Definition at line 10 of file templated_fixture_test.cc.

◆ ~MyFixture() [1/2]

template<typename T >
MyFixture< T >::~MyFixture ( )
inline

◆ ~MyFixture() [2/2]

template<typename T >
MyFixture< T >::~MyFixture ( )
inline

Member Function Documentation

◆ SetUp() [1/2]

template<typename T >
void MyFixture< T >::SetUp ( const ::benchmark::State state)
inline

◆ SetUp() [2/2]

template<typename T >
void MyFixture< T >::SetUp ( const ::benchmark::State state)
inline

◆ TearDown() [1/2]

template<typename T >
void MyFixture< T >::TearDown ( const ::benchmark::State state)
inline

◆ TearDown() [2/2]

template<typename T >
void MyFixture< T >::TearDown ( const ::benchmark::State state)
inline

Member Data Documentation

◆ data [1/2]

template<typename T >
std::unique_ptr< int > MyFixture< T >::data

Definition at line 12 of file templated_fixture_test.cc.

◆ data [2/2]

template<typename T >
std::unique_ptr<int> MyFixture< T >::data

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:47