mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Renamed option to --no-batch to stay aligned with tag name
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
* Applies to the most recent `--benchmark`, or all benchmarks if specified
|
||||
before any `--benchmark` arguments.
|
||||
|
||||
* `--no-batched`
|
||||
* `--no-batch`
|
||||
* 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
|
||||
|
||||
@@ -467,7 +467,7 @@ void option_parser::parse_range(option_parser::arg_iterator_t first,
|
||||
this->enable_profile();
|
||||
first += 1;
|
||||
}
|
||||
else if (arg == "--no-batched")
|
||||
else if (arg == "--no-batch")
|
||||
{
|
||||
this->disable_batched();
|
||||
first += 1;
|
||||
@@ -772,7 +772,7 @@ void option_parser::disable_batched()
|
||||
// If no active benchmark, save args as global
|
||||
if (m_benchmarks.empty())
|
||||
{
|
||||
m_global_benchmark_args.push_back("--no-batched");
|
||||
m_global_benchmark_args.push_back("--no-batch");
|
||||
return;
|
||||
}
|
||||
benchmark_base &bench = *m_benchmarks.back();
|
||||
|
||||
Reference in New Issue
Block a user