Support --no-batched CLI option

The option sets m_skip_batched boolean member in benchmark_base class.
Methods `bool get_skip_batched()` and `void set_skip_batched(bool)` added.

m_skip_batched is also added to state class. Similarly named methods
are added.

CLI help file documents `--no-batched` option.
This commit is contained in:
Oleksandr Pavlyk
2026-02-02 11:32:57 -06:00
parent f3fa93f388
commit f1b9d44304
7 changed files with 48 additions and 1 deletions

View File

@@ -115,6 +115,12 @@
* Applies to the most recent `--benchmark`, or all benchmarks if specified
before any `--benchmark` arguments.
* `--no-batched`
* Do not run batched measurements even if enabled.
* Intended to shorten run-time when batched measurements are not of interest.
* Applied to the most recent `--benchmark`, or all benchrmarks if specified
before any `--benchmark` arguments.
## Stopping Criteria
* `--timeout <seconds>`