CppBenchmark
1.0.4.0
C++ Benchmark Library
|
Producers/Consumers benchmark fixture. More...
#include <fixture_pc.h>
Public Member Functions | |
FixturePC () noexcept=default | |
FixturePC (const FixturePC &) noexcept=default | |
FixturePC (FixturePC &&) noexcept=default | |
virtual | ~FixturePC () noexcept=default |
FixturePC & | operator= (const FixturePC &) noexcept=default |
FixturePC & | operator= (FixturePC &&) noexcept=default |
Protected Member Functions | |
virtual void | Initialize (ContextPC &context) |
Initialize benchmark. More... | |
virtual void | Cleanup (ContextPC &context) |
Cleanup benchmark. More... | |
virtual void | InitializeProducer (ContextPC &context) |
Initialize producer. More... | |
virtual void | InitializeConsumer (ContextPC &context) |
Initialize consumer. More... | |
virtual void | CleanupProducer (ContextPC &context) |
Cleanup producer. More... | |
virtual void | CleanupConsumer (ContextPC &context) |
Cleanup consumer. More... | |
Producers/Consumers benchmark fixture.
Provides interface to initialize and cleanup producers/consumers benchmarks.
Definition at line 20 of file fixture_pc.h.
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
virtualdefaultnoexcept |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Cleanup consumer.
This method is called to cleanup consumer in separate thread.
context | - Consumer running context |
Definition at line 74 of file fixture_pc.h.
|
inlineprotectedvirtual |
Cleanup producer.
This method is called to cleanup producer in separate thread.
context | - Producer running context |
Definition at line 67 of file fixture_pc.h.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Initialize consumer.
This method is called to initialize consumer in separate thread.
context | - Consumer running context |
Definition at line 60 of file fixture_pc.h.
|
inlineprotectedvirtual |
Initialize producer.
This method is called to initialize producer in separate thread.
context | - Producer running context |
Definition at line 53 of file fixture_pc.h.