pub(crate) struct CmdOpt {
    pub(crate) query: u32,
    pub(crate) scale_factor: u32,
    pub(crate) selection_variant: ArgSelectionVariant,
    pub(crate) repeat: u32,
    pub(crate) csv: Option<PathBuf>,
    pub(crate) rel_mem_type: ArgMemType,
    pub(crate) rel_location: u16,
    pub(crate) page_type: ArgPageType,
    pub(crate) execution_method: ArgExecutionMethod,
    pub(crate) device_id: u16,
    pub(crate) threads: usize,
    pub(crate) cpu_affinity: Option<PathBuf>,
}

Fields

query: u32

TPC-H query to run

scale_factor: u32

TPC-H scale factor

selection_variant: ArgSelectionVariant

Selection variant

repeat: u32

Number of times to repeat the benchmark

csv: Option<PathBuf>

Output filename for measurement CSV file

rel_mem_type: ArgMemType

Memory type with which to allocate data

rel_location: u16

Allocate memory for inner relation on CPU or GPU (See numactl -H and CUDA device list)

page_type: ArgPageType

Page type with with to allocate memory

execution_method: ArgExecutionMethod

Execute on device(s) with in-place or streaming-transfer method

device_id: u16

Execute on GPU (See CUDA device list)

threads: usizecpu_affinity: Option<PathBuf>

Path to CPU affinity map file for CPU workers

Implementations

Trait Implementations

Returns the corresponding clap::App.

Creates the struct from clap::ArgMatches. It cannot fail with a parameter generated by clap by construction. Read more

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.