@@ -48,7 +48,7 @@ file structure:
software_isp: # true/false
software_isp:
copy_input_buffer: # true/false
- measure:
+ benchmark:
skip: # non-negative integer, frames to skip initially
number: # non-negative integer, frames to measure
mode: # cpu/gpu
@@ -83,7 +83,7 @@ Configuration file example
software_isp: true
software_isp:
copy_input_buffer: false
- measure:
+ benchmark:
skip: 50
number: 30
mode: gpu
@@ -166,13 +166,13 @@ software_isp.copy_input_buffer
Example value: ``false``
-software_isp.measure.skip, software_isp.measure.number
- Define per-frame time measurement parameters in software ISP. `skip`
+software_isp.benchmark.skip, software_isp.benchmark.number
+ Define performance measurement parameters for the software ISP. `skip`
defines how many initial frames are skipped before starting the
measurement; `number` defines how many frames then participate in the
measurement.
- Set `software_isp.measure.number` to 0 to disable the measurement.
+ Set `software_isp.benchmark.number` to 0 to disable the measurement.
Example `skip` value: ``50``
@@ -35,11 +35,11 @@ Benchmark::Benchmark(const CameraManager &cm, const std::string &name)
const GlobalConfiguration &configuration = cm._d()->configuration();
skipBeforeMeasure_ = configuration.option<unsigned int>(
- { "software_isp", "measure", "skip" })
- .value_or(skipBeforeMeasure_);
- framesToMeasure_ = configuration.option<unsigned int>(
- { "software_isp", "measure", "number" })
- .value_or(framesToMeasure_);
+ { "software_isp", "benchmark", "skip" })
+ .value_or(skipBeforeMeasure_);
+ framesToMeasure_ = configuration.option<unsigned int>(
+ { "software_isp", "benchmark", "number" })
+ .value_or(framesToMeasure_);
}
Benchmark::~Benchmark()