CppBenchmark
1.0.4.0
C++ Benchmark Library
|
Threads benchmark fixture. More...
#include <fixture_threads.h>
Public Member Functions | |
FixtureThreads () noexcept=default | |
FixtureThreads (const FixtureThreads &) noexcept=default | |
FixtureThreads (FixtureThreads &&) noexcept=default | |
virtual | ~FixtureThreads () noexcept=default |
FixtureThreads & | operator= (const FixtureThreads &) noexcept=default |
FixtureThreads & | operator= (FixtureThreads &&) noexcept=default |
Protected Member Functions | |
virtual void | Initialize (ContextThreads &context) |
Initialize benchmark. More... | |
virtual void | Cleanup (ContextThreads &context) |
Cleanup benchmark. More... | |
virtual void | InitializeThread (ContextThreads &context) |
Initialize thread. More... | |
virtual void | CleanupThread (ContextThreads &context) |
Cleanup thread. More... | |
Threads benchmark fixture.
Provides interface to initialize and cleanup threads benchmarks.
Definition at line 20 of file fixture_threads.h.
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
virtualdefaultnoexcept |
|
inlineprotectedvirtual |
Cleanup benchmark.
This method is called after benchmark run method.
context | - Benchmark running context |
Definition at line 45 of file fixture_threads.h.
|
inlineprotectedvirtual |
Cleanup thread.
This method is called to cleanup benchmark thread.
context | - Thread running context |
Definition at line 60 of file fixture_threads.h.
|
inlineprotectedvirtual |
Initialize benchmark.
This method is called before benchmark run method.
context | - Benchmark running context |
Definition at line 38 of file fixture_threads.h.
|
inlineprotectedvirtual |
Initialize thread.
This method is called to initialize benchmark thread.
context | - Thread running context |
Definition at line 53 of file fixture_threads.h.
|
defaultnoexcept |
|
defaultnoexcept |