Loading...
Searching...
No Matches
runner_options Module Reference

Inherited by runner.

Definition

Provides a base class for the benchmark runner.

Examples

The first example demonstrates how to instantiate the runner_options type and modify some values.

use benchmark_options
type(runner_options) :: options
options%maxcalls = 10000
options%mintime = 1000 ! in milliseconds
options%maxtime = 500000 ! in milliseconds


The second example shows how to export benchmark results to csv file

use benchmark_options
type(runner_options) :: options
integer, parameter :: lu = 15
open(unit=lu, file = 'report.csv')
options%csv_unit = lu

Remarks

The runner_options is the base class for the runner class.

Definition at line 24 of file Options.f90.


The documentation for this module was generated from the following file:

Variables

integer, public maxcalls = 100000000
 Maximum number of function calls.
 
integer, public csv_unit = 0
 Integer designating the logical output unit for csv results. Null value corresponds to unset value.
 
real(r8), public mintime = 100.0_r8
 Minimum sampling time in ms to collect data.
 
real(r8), public maxtime = 100000.0_r8
 Maximum sampling time in ms to collect data.
 
real(r8), public overhead = 0.0_r8
 Time overhead corresponding to the surounding methods calls.
 
integer, public sampling_window = 20
 Integer option to adjust the size of the sampling window.
 
real(r8), public ssd_threshold = 0.05_r8
 Acceptance threshold for the steady-state detection.
 
logical, public skip_prelude = .false.
 Logical flag. If set to .true., only the benchmarking step will be performed.
 
character(200), public name = ''
 String name.