unity.scopes.testing.Benchmark.ActivationConfiguration

The ActivationConfiguration struct constains all options controlling the benchmark of scope activation 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 ActivationConfiguration struct constains all options controlling the benchmark of scope activation operations.

Member Typedef Documentation

typedef std::function< std::pair< unity::scopes::Result, unity::scopes::ActionMetadata>) > unity::scopes::testing::Benchmark::ActivationConfiguration::Sampler

Function signature for choosing an activation configuration.

Member Data Documentation

Sampler unity::scopes::testing::Benchmark::ActivationConfiguration::sampler {}

The sampling function instance for choosing a preview configuration. Has to be set to an actual instance.

TrialConfiguration unity::scopes::testing::Benchmark::ActivationConfiguration::trial_configuration {}

fold in trial configuration options into the overall setup.