unity.scopes.testing.Benchmark.ActionConfiguration

The ActionConfiguration struct constains all options controlling the benchmark of scope action activation operations. More...

#include <unity/scopes/testing/Benchmark.h>

Public Types

typedef std::function< std::tuple< unity::scopes::Result, unity::scopes::ActionMetadata, std::string, std::string >) > Sampler
 

Public Attributes

Sampler sampler {}
 
TrialConfiguration trial_configuration
 

Detailed Description

The ActionConfiguration struct constains all options controlling the benchmark of scope action activation operations.

Member Typedef Documentation

typedef std::function< std::tuple< unity::scopes::Result, unity::scopes::ActionMetadata, std::string, std::string >) > unity::scopes::testing::Benchmark::ActionConfiguration::Sampler

Function signature for choosing an action invocation configuration.

Member Data Documentation

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

The sampling function instance for choosing an action activation configuration. Has to be set to an actual instance.

TrialConfiguration unity::scopes::testing::Benchmark::ActionConfiguration::trial_configuration

fold in trial configuration options into the overall setup.