unity.scopes.testing.Benchmark.QueryConfiguration

The QueryConfiguration struct constains all options controlling the benchmark of scope query operations. More...

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

Public Types

typedef std::function< std::pair< unity::scopes::CannedQuery, unity::scopes::SearchMetadata >) > Sampler
 

Public Attributes

Sampler sampler {}
 
TrialConfiguration trial_configuration {}
 

Detailed Description

The QueryConfiguration struct constains all options controlling the benchmark of scope query operations.

Member Typedef Documentation

typedef std::function< std::pair< unity::scopes::CannedQuery, unity::scopes::SearchMetadata>) > unity::scopes::testing::Benchmark::QueryConfiguration::Sampler

Function signature for choosing a query configuration.

Member Data Documentation

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

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

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

fold in trial configuration options into the overall setup.