Home
last modified time | relevance | path

Searched refs:measurement (Results 1 – 25 of 210) sorted by relevance

123456789

/external/pdfium/xfa/fxfa/parser/
Dcxfa_measurement_unittest.cpp10 CXFA_Measurement measurement; in TEST() local
12 measurement.Set(0.1f, XFA_Unit::Percent); in TEST()
13 EXPECT_STREQ(L"0.1%", measurement.ToString().c_str()); in TEST()
14 measurement.Set(1.0f, XFA_Unit::Em); in TEST()
15 EXPECT_STREQ(L"1em", measurement.ToString().c_str()); in TEST()
16 measurement.Set(1.1f, XFA_Unit::Pt); in TEST()
17 EXPECT_STREQ(L"1.1pt", measurement.ToString().c_str()); in TEST()
18 measurement.Set(1.0000001f, XFA_Unit::In); in TEST()
19 EXPECT_STREQ(L"1.0000001in", measurement.ToString().c_str()); in TEST()
20 measurement.Set(1234.0f, XFA_Unit::Pc); in TEST()
[all …]
/external/rust/crates/criterion/src/
Dbencher.rs6 use crate::measurement::{Measurement, WallTime};
39 pub(crate) measurement: &'a M, // Reference to the measurement object field
86 let start = self.measurement.start(); in iter()
90 self.value = self.measurement.end(start); in iter()
254 self.value = self.measurement.zero(); in iter_batched()
260 let start = self.measurement.start(); in iter_batched()
262 let end = self.measurement.end(start); in iter_batched()
263 self.value = self.measurement.add(&self.value, &end); in iter_batched()
276 let start = self.measurement.start(); in iter_batched()
278 let end = self.measurement.end(start); in iter_batched()
[all …]
Droutine.rs3 use crate::measurement::Measurement;
28 measurement: &M, in profile()
60 let (wu_elapsed, wu_iters) = self.warm_up(measurement, Duration::from_secs(1), parameter); in profile()
71 self.bench(measurement, &[iters], parameter); in profile()
84 measurement: &M, in sample()
106 let (wu_elapsed, wu_iters) = self.warm_up(measurement, wu, parameter); in sample()
153 let m_elapsed = self.bench(measurement, &m_iters, parameter); in sample()
201 measurement: m, in bench()
222 measurement: m, in warm_up()
Dbenchmark_group.rs4 use crate::measurement::Measurement;
339 func.test(&self.criterion.measurement, input); in run_bench()
346 &self.criterion.measurement, in run_bench()
378 conn.serve_value_formatter(self.criterion.measurement.formatter()) in drop()
391 self.criterion.measurement.formatter(), in drop()
/external/angle/src/tests/perf_tests/third_party/perf/
Dperf_test.cc54 std::string ResultsToString(const std::string &measurement, in ResultsToString() argument
66 return StringPrintf("%sRESULT %s%s: %s= %s%s%s %s\n", important ? "*" : "", measurement.c_str(), in ResultsToString()
71 void PrintResultsImpl(const std::string &measurement, in PrintResultsImpl() argument
82 ResultsToString(measurement, modifier, trace, values, prefix, suffix, units, important) in PrintResultsImpl()
92 void PrintResult(const std::string &measurement, in PrintResult() argument
99 PrintResultsImpl(measurement, modifier, trace, NumberToString(value), std::string(), in PrintResult()
103 void PrintResult(const std::string &measurement, in PrintResult() argument
110 PrintResultsImpl(measurement, modifier, trace, NumberToString(value), std::string(), in PrintResult()
115 const std::string &measurement, in AppendResult() argument
122 output += ResultsToString(measurement, modifier, trace, NumberToString(value), std::string(), in AppendResult()
[all …]
Dperf_test.h26 void PrintResult(const std::string &measurement,
32 void PrintResult(const std::string &measurement,
40 const std::string &measurement,
49 void PrintResult(const std::string &measurement,
57 const std::string &measurement,
67 void PrintResultMeanAndError(const std::string &measurement,
75 const std::string &measurement,
86 void PrintResultList(const std::string &measurement,
94 const std::string &measurement,
Dangle-mods.patch69 -- std::string ResultsToString(const std::string& measurement,
143 - std::string ResultsToString(const std::string& measurement,
146 -@@ -23,7 +54,7 @@ std::string ResultsToString(const std::string& measurement,
152 - important ? "*" : "", measurement.c_str(), modifier.c_str(),
155 -@@ -53,7 +84,7 @@ void PrintResult(const std::string& measurement,
159 -- PrintResultsImpl(measurement, modifier, trace, base::NumberToString(value),
160 -+ PrintResultsImpl(measurement, modifier, trace, NumberToString(value),
164 -@@ -63,7 +94,7 @@ void PrintResult(const std::string& measurement,
168 -- PrintResultsImpl(measurement, modifier, trace, base::NumberToString(value),
169 -+ PrintResultsImpl(measurement, modifier, trace, NumberToString(value),
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DMeasureTest.java63 Measure measurement = Measure.MeasureDouble.create("Foo", "The description of Foo", "Mbit/s"); in testMeasureDoubleComponents() local
64 assertThat(measurement.getName()).isEqualTo("Foo"); in testMeasureDoubleComponents()
65 assertThat(measurement.getDescription()).isEqualTo("The description of Foo"); in testMeasureDoubleComponents()
66 assertThat(measurement.getUnit()).isEqualTo("Mbit/s"); in testMeasureDoubleComponents()
71 Measure measurement = Measure.MeasureLong.create("Bar", "The description of Bar", "1"); in testMeasureLongComponents() local
72 assertThat(measurement.getName()).isEqualTo("Bar"); in testMeasureLongComponents()
73 assertThat(measurement.getDescription()).isEqualTo("The description of Bar"); in testMeasureLongComponents()
74 assertThat(measurement.getUnit()).isEqualTo("1"); in testMeasureLongComponents()
/external/webrtc/video/
Dquality_threshold.cc40 void QualityThreshold::AddMeasurement(int measurement) { in AddMeasurement() argument
42 buffer_[next_index_] = measurement; in AddMeasurement()
45 sum_ += measurement - prev_val; in AddMeasurement()
55 if (measurement <= low_threshold_) { in AddMeasurement()
57 } else if (measurement >= high_threshold_) { in AddMeasurement()
/external/webrtc/test/testsupport/
Dperf_test.h48 void PrintResult(const std::string& measurement,
61 const std::string& measurement,
75 const std::string& measurement,
85 void PrintResult(const std::string& measurement,
Dperf_test.cc242 void PrintResult(const std::string& measurement, in PrintResult() argument
249 std::string graph_name = measurement + modifier; in PrintResult()
259 void PrintResult(const std::string& measurement, in PrintResult() argument
266 std::string graph_name = measurement + modifier; in PrintResult()
271 PrintResultMeanAndError(measurement, modifier, trace, mean, error, units, in PrintResult()
275 void PrintResultMeanAndError(const std::string& measurement, in PrintResultMeanAndError() argument
286 std::string graph_name = measurement + modifier; in PrintResultMeanAndError()
293 void PrintResultList(const std::string& measurement, in PrintResultList() argument
304 std::string graph_name = measurement + modifier; in PrintResultList()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DRuntimeInstrument.java310 for (Measurement measurement : newMeasurements) { in visit()
312 checkArgument("ns".equals(measurement.value().unit())); in visit()
314 ShortDuration.of(BigDecimal.valueOf(measurement.value().magnitude()), NANOSECONDS)); in visit()
315 validateMeasurement(measurement); in visit()
336 abstract void validateMeasurement(Measurement measurement); in validateMeasurement() argument
405 void validateMeasurement(Measurement measurement) { in validateMeasurement() argument
407 double nanos = measurement.value().magnitude() / measurement.weight(); in validateMeasurement()
455 void validateMeasurement(Measurement measurement) { in validateMeasurement() argument
456 double nanos = measurement.value().magnitude() / measurement.weight(); in validateMeasurement()
DArbitraryMeasurementInstrument.java125 Optional<Measurement> measurement = Optional.absent(); field in ArbitraryMeasurementInstrument.SingleMeasurementCollectingVisitor
129 return measurement.isPresent(); in isDoneCollecting()
139 return ImmutableList.copyOf(measurement.asSet()); in getMeasurements()
144 this.measurement = Optional.of(Iterables.getOnlyElement(logMessage.measurements())); in visit()
/external/llvm-project/llvm/test/tools/llvm-exegesis/X86/
Danalysis-cluster-stabilization.test5 # We have one ADD32rr measurement, and two measurements for SQRTSSr.
6 # The ADD32rr measurement and one of the SQRTSSr measurements are identical,
7 # and thus will be be in the same cluster. But the second SQRTSSr measurement
8 # is different from the first SQRTSSr measurement, and thus it will be in it's
10 # measurement from SQRTSSr, and they are not in the same cluster, we move
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dsysinfo.cc206 double measurement = MeasureTscFrequencyWithSleep(sleep_nanoseconds); in MeasureTscFrequency() local
207 if (measurement * 0.99 < last_measurement && in MeasureTscFrequency()
208 last_measurement < measurement * 1.01) { in MeasureTscFrequency()
211 return measurement; in MeasureTscFrequency()
213 last_measurement = measurement; in MeasureTscFrequency()
/external/abseil-cpp/absl/base/internal/
Dsysinfo.cc206 double measurement = MeasureTscFrequencyWithSleep(sleep_nanoseconds); in MeasureTscFrequency() local
207 if (measurement * 0.99 < last_measurement && in MeasureTscFrequency()
208 last_measurement < measurement * 1.01) { in MeasureTscFrequency()
211 return measurement; in MeasureTscFrequency()
213 last_measurement = measurement; in MeasureTscFrequency()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dsysinfo.cc216 double measurement = MeasureTscFrequencyWithSleep(sleep_nanoseconds); in MeasureTscFrequency() local
217 if (measurement * 0.99 < last_measurement && in MeasureTscFrequency()
218 last_measurement < measurement * 1.01) { in MeasureTscFrequency()
221 return measurement; in MeasureTscFrequency()
223 last_measurement = measurement; in MeasureTscFrequency()
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dsysinfo.cc216 double measurement = MeasureTscFrequencyWithSleep(sleep_nanoseconds); in MeasureTscFrequency() local
217 if (measurement * 0.99 < last_measurement && in MeasureTscFrequency()
218 last_measurement < measurement * 1.01) { in MeasureTscFrequency()
221 return measurement; in MeasureTscFrequency()
223 last_measurement = measurement; in MeasureTscFrequency()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dsysinfo.cc216 double measurement = MeasureTscFrequencyWithSleep(sleep_nanoseconds); in MeasureTscFrequency() local
217 if (measurement * 0.99 < last_measurement && in MeasureTscFrequency()
218 last_measurement < measurement * 1.01) { in MeasureTscFrequency()
221 return measurement; in MeasureTscFrequency()
223 last_measurement = measurement; in MeasureTscFrequency()
/external/autotest/client/site_tests/hardware_Usb30Throughput/
Dhardware_Usb30Throughput.py67 for measurement in range(measurements):
69 key = 'Mbit_per_sec_measurement_%d' % measurement
72 measurement, xfer_rate, min_speed)
/external/autotest/server/cros/network/
Dnetperf_runner.py204 for measurement in ['throughput', 'errors', 'transaction_rate']:
205 value = getattr(self, measurement)
206 dev = getattr(self, measurement + '_dev')
233 for measurement in ['throughput', 'errors', 'transaction_rate']:
234 value = getattr(self, measurement)
235 dev = getattr(self, measurement + '_dev')
241 ret[prefix + measurement + suffix] = '%0.2f%s' % (value, margin)
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dsysinfo.cc283 double measurement = MeasureTscFrequencyWithSleep(sleep_nanoseconds); in MeasureTscFrequency() local
284 if (measurement * 0.99 < last_measurement && in MeasureTscFrequency()
285 last_measurement < measurement * 1.01) { in MeasureTscFrequency()
288 return measurement; in MeasureTscFrequency()
290 last_measurement = measurement; in MeasureTscFrequency()
/external/google-benchmark/tools/gbench/
Dreport.py309 for measurement in benchmark['measurements']:
315 get_color(measurement['time']),
316 measurement['time'],
317 get_color(measurement['cpu']),
318 measurement['cpu'],
319 measurement['real_time'],
320 measurement['real_time_other'],
321 measurement['cpu_time'],
322 measurement['cpu_time_other'],
/external/angle/src/tests/test_utils/runner/
DHistogramWriter.h32 void addSample(const std::string &measurement,
49 inline void HistogramWriter::addSample(const std::string &measurement, in addSample() argument
/external/iptables/extensions/
Dlibxt_RATEEST.man9 Rate measurement interval, in seconds, milliseconds or microseconds.
12 Rate measurement averaging time constant.

123456789