Threads benchmark fixture.
More...
#include <fixture_threads.h>
Threads benchmark fixture.
Provides interface to initialize and cleanup threads benchmarks.
Definition at line 20 of file fixture_threads.h.
◆ FixtureThreads() [1/3]
CppBenchmark::FixtureThreads::FixtureThreads |
( |
| ) |
|
|
defaultnoexcept |
◆ FixtureThreads() [2/3]
CppBenchmark::FixtureThreads::FixtureThreads |
( |
const FixtureThreads & |
| ) |
|
|
defaultnoexcept |
◆ FixtureThreads() [3/3]
◆ ~FixtureThreads()
virtual CppBenchmark::FixtureThreads::~FixtureThreads |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ Cleanup()
virtual void CppBenchmark::FixtureThreads::Cleanup |
( |
ContextThreads & |
context | ) |
|
|
inlineprotectedvirtual |
Cleanup benchmark.
This method is called after benchmark run method.
- Parameters
-
Definition at line 45 of file fixture_threads.h.
◆ CleanupThread()
virtual void CppBenchmark::FixtureThreads::CleanupThread |
( |
ContextThreads & |
context | ) |
|
|
inlineprotectedvirtual |
Cleanup thread.
This method is called to cleanup benchmark thread.
- Parameters
-
context | - Thread running context |
Definition at line 60 of file fixture_threads.h.
◆ Initialize()
virtual void CppBenchmark::FixtureThreads::Initialize |
( |
ContextThreads & |
context | ) |
|
|
inlineprotectedvirtual |
Initialize benchmark.
This method is called before benchmark run method.
- Parameters
-
Definition at line 38 of file fixture_threads.h.
◆ InitializeThread()
virtual void CppBenchmark::FixtureThreads::InitializeThread |
( |
ContextThreads & |
context | ) |
|
|
inlineprotectedvirtual |
Initialize thread.
This method is called to initialize benchmark thread.
- Parameters
-
context | - Thread running context |
Definition at line 53 of file fixture_threads.h.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: