Unity Scopes API
unity::scopes::testing::Benchmark::PreviewConfiguration Struct Reference

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

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.


The documentation for this struct was generated from the following file: