diff options
| author | Phil Nash | 2017-08-09 22:26:17 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-08-11 22:24:52 +0100 |
| commit | eed4ae86ad38b2d04670e44a941bd96129906f4c (patch) | |
| tree | 6abea10472489044e5d166faa41c122e3af585f9 /include/internal/catch_commandline.cpp | |
| parent | df5c31bb1938d39d8916365a676e708fdb15d4c9 (diff) | |
| download | catch3-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.cpp | 3 |
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" ); |