Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_commandline.cpp
diff options
context:
space:
mode:
authorPhil Nash2017-08-09 22:26:17 +0100
committerPhil Nash2017-08-11 22:24:52 +0100
commiteed4ae86ad38b2d04670e44a941bd96129906f4c (patch)
tree6abea10472489044e5d166faa41c122e3af585f9 /include/internal/catch_commandline.cpp
parentdf5c31bb1938d39d8916365a676e708fdb15d4c9 (diff)
downloadcatch3-eed4ae86ad38b2d04670e44a941bd96129906f4c.tar.gz
Added config to control multiple of clock resolution to run benchmark iterations for
Diffstat (limited to 'include/internal/catch_commandline.cpp')
-rw-r--r--include/internal/catch_commandline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/catch_commandline.cpp b/include/internal/catch_commandline.cpp
index b94bc2d2..7342ac42 100644
--- a/include/internal/catch_commandline.cpp
+++ b/include/internal/catch_commandline.cpp
@@ -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" );