mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-24 13:39:24 +00:00
Added config to control multiple of clock resolution to run benchmark iterations for
This commit is contained in:
parent
df5c31bb19
commit
eed4ae86ad
6 changed files with 16 additions and 3 deletions
|
@ -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" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue