unity.scopes.testing.Benchmark.PreviewConfiguration
The PreviewConfiguration struct constains all options controlling the benchmark of scope preview operations. More...
#include <unity/scopes/testing/Benchmark.h>
Public Types | |
typedef std::function< std::pair< unity::scopes::Result, unity::scopes::ActionMetadata >) > | Sampler |
Public Attributes | |
Sampler | sampler {} |
TrialConfiguration | trial_configuration {} |
Detailed Description
The PreviewConfiguration struct constains all options controlling the benchmark of scope preview operations.
Member Typedef Documentation
typedef std::function< std::pair< unity::scopes::Result, unity::scopes::ActionMetadata >) > unity::scopes::testing::Benchmark::PreviewConfiguration::Sampler |
Function signature for choosing a preview configuration.
Member Data Documentation
Sampler unity::scopes::testing::Benchmark::PreviewConfiguration::sampler {} |
The sampling function instance for choosing a preview configuration. Has to be set to an actual instance.
TrialConfiguration unity::scopes::testing::Benchmark::PreviewConfiguration::trial_configuration {} |
fold in trial configuration options into the overall setup.