Added config to control multiple of clock resolution to run benchmark iterations for

This commit is contained in:
Phil Nash 2017-08-09 22:26:17 +01:00
parent df5c31bb19
commit eed4ae86ad
6 changed files with 16 additions and 3 deletions

View file

@ -153,6 +153,9 @@ namespace Catch {
+ Opt( setColourUsage, "yes|no" )
["--use-colour"]
( "should output be colourised" )
+ Opt( config.benchmarkResolutionMultiple, "multiplier" )
["--benchmark-resolution-multiple"]
( "multiple of clock resolution to run benchmarks" )
+ Arg( config.testsOrTags, "test name|pattern|tags" )
( "which test or tests to use" );