Home
last modified time | relevance | path

Searched refs:criterion (Results 1 – 25 of 129) sorted by relevance

123456

/external/rust/crates/criterion/src/analysis/
Dmod.rs43 criterion: &Criterion<M>, in common()
48 criterion.report.benchmark_start(id, report_context); in common()
50 if let Baseline::Compare = criterion.baseline { in common()
53 &criterion.baseline_directory, in common()
54 &criterion.output_directory, in common()
58 base=criterion.baseline_directory, in common()
64 if let Some(baseline) = &criterion.load_baseline { in common()
65 let mut sample_path = criterion.output_directory.clone(); in common()
84 &criterion.measurement, in common()
87 criterion, in common()
[all …]
Dcompare.rs20 criterion: &Criterion<M>, in common()
31 let mut sample_file = criterion.output_directory.clone(); in common()
33 sample_file.push(&criterion.baseline_directory); in common()
38 let mut estimates_file = criterion.output_directory.clone(); in common()
40 estimates_file.push(&criterion.baseline_directory); in common()
51 let mut change_dir = criterion.output_directory.clone(); in common()
58 estimates(id, avg_times, base_avg_time_sample, config, criterion); in common()
106 criterion: &Criterion<M>, in estimates()
135 let mut estimates_path = criterion.output_directory.clone(); in estimates()
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/userInteraction/
DUserInteractor.py29 from clientsimulator.criterion.InclusiveCriterion import InclusiveCriterion
128 def __setCriterion(self, criterion, value): argument
129 criterion.currentValue = value
131 def __removeCriterionValue(self, criterion, value): argument
132 criterion.removeValue(value)
134 def __editCriterion(self, criterion): argument
143 for possibleValue in [x for x in criterion.allowedValues()
144 if not x in criterion.currentValue
145 and not x == criterion.noValue]:
150 criterion,
[all …]
/external/rust/crates/criterion/src/
Dbenchmark_group.rs79 criterion: &'a mut Criterion<M>, field
238 pub(crate) fn new(criterion: &mut Criterion<M>, group_name: String) -> BenchmarkGroup<'_, M> { in new()
240 criterion, in new()
278 let config = self.partial_config.to_complete(&self.criterion.config); in run_bench()
280 output_directory: self.criterion.output_directory.clone(), in run_bench()
296 id.ensure_directory_name_unique(&self.criterion.all_directories); in run_bench()
297 self.criterion in run_bench()
300 id.ensure_title_unique(&self.criterion.all_titles); in run_bench()
301 self.criterion.all_titles.insert(id.as_title().to_owned()); in run_bench()
303 let do_run = self.criterion.filter_matches(id.id()); in run_bench()
[all …]
Droutine.rs30 criterion: &Criterion<M>, in profile()
35 criterion in profile()
49 criterion in profile()
74 criterion in profile()
79 criterion.report.terminated(id, report_context); in profile()
87 criterion: &Criterion<M>, in sample()
94 criterion in sample()
98 if let Some(conn) = &criterion.connection { in sample()
139 criterion in sample()
143 if let Some(conn) = &criterion.connection { in sample()
Dmacros.rs68 let mut criterion: $crate::Criterion<_> = $config localVariable
71 $target(&mut criterion);
/external/parameter-framework/upstream/bindings/c/
DParameterFramework.cpp182 const PfwCriterion &criterion = criteriaArray[criterionIndex]; in createCriteria() local
183 if (criterion.name == nullptr) { in createCriteria()
186 if (criterion.values == nullptr) { in createCriteria()
190 if (criteria.find(criterion.name) != criteria.end()) { in createCriteria()
191 return status.failure("Criterion \"" + string(criterion.name) + "\" already exist"); in createCriteria()
196 pfw->createSelectionCriterionType(criterion.inclusive); in createCriteria()
199 for (size_t valueIndex = 0; criterion.values[valueIndex] != nullptr; ++valueIndex) { in createCriteria()
201 if (criterion.inclusive) { in createCriteria()
205 string(criterion.name)); in createCriteria()
211 const char *valueName = criterion.values[valueIndex]; in createCriteria()
[all …]
/external/rust/crates/criterion/
DCargo.toml.orig3 name = "criterion"
8 homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
9 repository = "https://github.com/bheisler/criterion.rs"
11 keywords = ["criterion", "benchmark"]
18 criterion-plot = { path="plot", version="0.4.3" }
52 travis-ci = { repository = "bheisler/criterion.rs" }
53 appveyor = { repository = "bheisler/criterion.rs", id = "4255ads9ctpupcl2" }
73 …required in order to have Criterion.rs generate its own plots (as opposed to using cargo-criterion)
77 # required in order to have Criterion.rs be usable outside of cargo-criterion.
82 # cargo-criterion's --message-format=json option.
[all …]
DREADME.md6 <a href="https://bheisler.github.io/criterion.rs/book/getting_started.html">Getting Started</a>
8 <a href="https://bheisler.github.io/criterion.rs/book/index.html">User Guide</a>
10 <a href="https://bheisler.github.io/criterion.rs/criterion/">Master API Docs</a>
12 <a href="https://docs.rs/crate/criterion/">Released API Docs</a>
14 <a href="https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md">Changelog</a>
18 <a href="https://travis-ci.org/bheisler/criterion.rs">
19 <img src="https://travis-ci.org/bheisler/criterion.rs.svg?branch=master" alt="Travis-CI">
22 <a href="https://ci.appveyor.com/project/bheisler/criterion-rs-vt9fl">
26 <a href="https://crates.io/crates/criterion">
27 <img src="https://img.shields.io/crates/v/criterion.svg" alt="Crates.io">
[all …]
DMETADATA1 name: "criterion"
6 value: "https://crates.io/crates/criterion"
10 value: "https://static.crates.io/crates/criterion/criterion-0.3.4.crate"
DCargo.toml15 name = "criterion"
20 homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
22 keywords = ["criterion", "benchmark"]
25 repository = "https://github.com/bheisler/criterion.rs"
49 [dependencies.criterion-plot]
145 repository = "bheisler/criterion.rs"
151 repository = "bheisler/criterion.rs"
DCHANGELOG.md32 generation, and the ability to run in cargo-bench (as opposed to [cargo-criterion]).
34 are not. If you use Criterion.rs' HTML reports, it is recommended to switch to [cargo-criterion].
35 If you use CSV output, it is recommended to switch to [cargo-criterion] and use the
40 [cargo-criterion]: https://github.com/bheisler/cargo-criterion
46 - Added support for [cargo-criterion]. The long-term goal here is to remove code from Criterion-rs
47 itself to improve compile times, as well as to add features to `cargo-criterion` that are
97 - Fixed `#[criterion]` benchmarks ignoring the command-line options.
171 - Merged `criterion-stats` crate into `criterion` crate. `criterion-stats` will no longer receive
179 - Fixed version numbers to prevent incompatibilities between `criterion` and `criterion-stats`
204 - Criterion.rs macros no longer require user to `use criterion::Criterion;`
[all …]
/external/rust/crates/tinytemplate/benches/
Dbenchmarks.rs2 extern crate criterion;
7 use criterion::Criterion;
33 fn parse(criterion: &mut Criterion) { in parse()
34 criterion.bench_function("parse-table", |b| { in parse()
42 fn render(criterion: &mut Criterion) { in render()
46 criterion.bench_function_over_inputs( in render()
/external/rust/crates/criterion-plot/
DCargo.toml.orig3 name = "criterion-plot"
8 repository = "https://github.com/bheisler/criterion.rs"
10 keywords = ["plotting", "gnuplot", "criterion"]
24 travis-ci = { repository = "bheisler/criterion.rs" }
25 appveyor = { repository = "bheisler/criterion.rs", id = "4255ads9ctpupcl2" }
DMETADATA1 name: "criterion-plot"
6 value: "https://crates.io/crates/criterion-plot"
10 value: "https://static.crates.io/crates/criterion-plot/criterion-plot-0.4.3.crate"
DCargo.toml15 name = "criterion-plot"
20 keywords = ["plotting", "gnuplot", "criterion"]
23 repository = "https://github.com/bheisler/criterion.rs"
41 repository = "bheisler/criterion.rs"
47 repository = "bheisler/criterion.rs"
DREADME.md1 # `criterion-plot`
9 `criterion-plot` is currently looking for a new maintainer. See
10 [this thread](https://users.rust-lang.org/t/call-for-maintainers-criterion-plot/24413) for details.
37 [Criterion.rs]: https://github.com/bheisler/criterion.rs
/external/parameter-framework/upstream/doc/requirements/
DAPIs.md21 There is no requirement to retreive a criterion by it's name.
39 Deffered application requirement; see [req-multiple-criterion-change-atomicity]
154 Implementation detail of the criterion requirement [req-selection-criterion].
158 Implementation of [req-criterion-changes].
162 Implementation of [req-criterion-changes].
166 Implementation of [req-criterion-changes].
170 Get how the criterion possible states were specified,
175 Pretty print criterion state [req-pretty-print]
181 Allow Introspection of a criterion; see [req-introspection].
184 Allow Introspection of a criterion; see [req-introspection].
[all …]
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/
DTestLauncher.py29 from clientsimulator.criterion.ExclusiveCriterion import ExclusiveCriterion
147 for criterion in criterions:
148 if ExclusiveCriterion in criterion.__class__.__bases__:
149 criterionValue = [criterion.currentValue]
151 criterionValue = criterion.currentValue
154 setCriterionArgs = [criterion.__class__.__name__] + criterionValueArg
/external/rust/crates/thread_local/benches/
Dthread_local.rs1 extern crate criterion;
4 use criterion::{black_box, BatchSize};
9 let mut c = criterion::Criterion::default().configure_from_args(); in main()
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/criterion/
DCriterionClassFactory.py29 from clientsimulator.criterion.Criterion import Criterion
30 from clientsimulator.criterion.ExclusiveCriterion import ExclusiveCriterion
31 from clientsimulator.criterion.InclusiveCriterion import InclusiveCriterion
DExclusiveCriterion.py29 from clientsimulator.criterion.Criterion import Criterion
30 from clientsimulator.criterion.Criterion import InvalidCriterionException
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py397 "Includes" : lambda criterion, value: criterion.stateIncludes(value),
398 "Excludes" : lambda criterion, value: not criterion.stateIncludes(value),
399 "Is" : lambda criterion, value: criterion.stateIs(value),
400 "IsNot" : lambda criterion, value: not criterion.stateIs(value)
410 self.isApplicableOperation = lambda criterion: applicableOperationWithoutValue(criterion,
723 def __init__(self, criterion): argument
724 self.criterion = criterion
728 self.criterion)
798 lambda criterion: criterion.reset()
812 changeCriterionOperation = lambda criterion: criterion.changeState(newCriterionState) argument
/external/rust/crates/criterion/benches/benchmarks/
Dcustom_measurement.rs1 use criterion::{
104 fn fibonacci_cycles(criterion: &mut Criterion<HalfSeconds>) { in fibonacci_cycles()
105 criterion.bench_function("fibonacci_custom_measurement", |bencher| { in fibonacci_cycles()
/external/parameter-framework/upstream/tools/xmlGenerator/
DdomainGenerator.py156 for criterion in all_criteria:
157 yield ["createSelectionCriterion", criterion['inclusive'],
158 criterion['name']] + criterion['values']

123456