Struct snowcap_bencher::BencherArguments [−][src]
Arguments required for the bencher
Fields
bench_type: BencherType
Type of benchmark
iterations: usize
Number of iterations to repeat
max_time: u64
Maximum allowed time per run, in seconds. If the time exceeds the limit, then the cost will be set to nan.
ignore_nan: bool
If this flag is set, then nan values will be ignored, and not added to the resulting csv file
random: bool
Perform benching the random baseline
tree: bool
Perform benching the tree strategy
main: bool
Perform benching the main strategy
mif: bool
Perform benching the most-important-first baseline strategy
mil: bool
Perform benching the most-important-first baseline strategy
global_optimum: bool
search for the global optimum
threads: Option<usize>
Number of threads to use. Defaults to the number of threads available on the system.
output_csv: Option<String>
Output file to store the results. Two different files will be created: "NAME_strategy.csv", "NAME_tree.csv" and "NAME_random.csv"! Don't provide the file ending ".csv"!
output_json: Option<String>
Output file to store the results in json format. Give the entire path, including the json ending.
Trait Implementations
impl Clap for BencherArguments
[src]
pub fn parse() -> Self
[src]
pub fn try_parse() -> Result<Self, Error>
[src]
pub fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn update_from<I, T>(&mut self, itr: I) where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
impl Clone for BencherArguments
[src]
fn clone(&self) -> BencherArguments
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BencherArguments
[src]
impl FromArgMatches for BencherArguments
[src]
fn from_arg_matches(matches: &ArgMatches) -> Self
[src]
fn update_from_arg_matches(&mut self, matches: &ArgMatches)
[src]
impl IntoApp for BencherArguments
[src]
fn into_app<'b>() -> App<'b>
[src]
fn into_app_for_update<'b>() -> App<'b>
[src]
fn augment_clap<'b>(app: App<'b>) -> App<'b>
[src]
fn augment_clap_for_update<'b>(app: App<'b>) -> App<'b>
[src]
Auto Trait Implementations
impl RefUnwindSafe for BencherArguments
[src]
impl Send for BencherArguments
[src]
impl Sync for BencherArguments
[src]
impl Unpin for BencherArguments
[src]
impl UnwindSafe for BencherArguments
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,