Home
last modified time | relevance | path

Searched refs:measurements (Results 1 – 25 of 126) sorted by relevance

123456

/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMeasureMapInternal.java52 private final ArrayList<Measurement> measurements; field in MeasureMapInternal
55 private MeasureMapInternal(ArrayList<Measurement> measurements, Map<String, String> attachments) { in MeasureMapInternal() argument
56 this.measurements = measurements; in MeasureMapInternal()
71 measurements.add(Measurement.MeasurementDouble.create(measure, value)); in put()
84 measurements.add(Measurement.MeasurementLong.create(measure, value)); in put()
98 for (int i = measurements.size() - 1; i >= 0; i--) { in build()
100 if (measurements.get(i).getMeasure() == measurements.get(j).getMeasure()) { in build()
101 measurements.remove(j); in build()
106 return new MeasureMapInternal(measurements, attachments); in build()
109 private final ArrayList<Measurement> measurements = new ArrayList<Measurement>(); field in MeasureMapInternal.Builder
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DTrial.java43 private List<Measurement> measurements; field in Trial
50 this.measurements = Lists.newArrayList(); in Trial()
58 this.measurements = Lists.newArrayList(builder.measurements); in Trial()
77 public ImmutableList<Measurement> measurements() { in measurements() method in Trial
78 return ImmutableList.copyOf(measurements); in measurements()
90 && this.measurements.equals(that.measurements); in equals()
97 return Objects.hashCode(id, run, instrumentSpec, scenario, measurements); in hashCode()
106 .add("measurements", measurements) in toString()
115 private final List<Measurement> measurements = Lists.newArrayList(); field in Trial.Builder
153 this.measurements.add(measurement); in addMeasurement()
[all …]
DMeasurement.java39 Iterable<Measurement> measurements) { in indexByDescription() argument
40 return Multimaps.index(measurements, new Function<Measurement, String>() { in indexByDescription()
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DStopMeasurementLogMessage.java31 private final ImmutableList<Measurement> measurements; field in StopMeasurementLogMessage
33 public StopMeasurementLogMessage(Iterable<Measurement> measurements) { in StopMeasurementLogMessage() argument
34 this.measurements = ImmutableList.copyOf(measurements); in StopMeasurementLogMessage()
37 public ImmutableList<Measurement> measurements() { in measurements() method in StopMeasurementLogMessage
38 return measurements; in measurements()
46 return Objects.hashCode(measurements); in hashCode()
55 return this.measurements.equals(that.measurements); in equals()
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DSimpleEstimationProblem.java51 private final List<WeightedMeasurement> measurements; field in SimpleEstimationProblem
58 measurements = new ArrayList<WeightedMeasurement>(); in SimpleEstimationProblem()
93 return measurements.toArray(new WeightedMeasurement[measurements.size()]); in getMeasurements()
108 measurements.add(m); in addMeasurement()
DGaussNewtonEstimator.java180 for (int i = 0; i < measurements.length; ++i) { in estimate()
181 if (! measurements [i].isIgnored()) { in estimate()
183 double weight = measurements[i].getWeight(); in estimate()
184 double residual = measurements[i].getResidual(); in estimate()
188 grad[j] = measurements[i].getPartial(parameters[j]); in estimate()
DAbstractEstimator.java46 protected WeightedMeasurement[] measurements; field in AbstractEstimator
131 WeightedMeasurement wm = measurements[i]; in updateJacobian()
162 WeightedMeasurement wm = measurements[i]; in updateResidualsAndCost()
288 measurements = problem.getMeasurements(); in initializeEstimate()
292 rows = measurements.length; in initializeEstimate()
/external/autotest/client/site_tests/graphics_VideoRenderingPower/
Dgraphics_VideoRenderingPower.py128 measurements = power_logger.calc()
129 logging.debug(measurements)
131 for category in sorted(measurements):
137 value=measurements[category],
147 'w_' + description: measurements[category]
/external/autotest/client/site_tests/hardware_Usb30Throughput/
Dcontrol24 @param measurements: (10) number of times to repeat xfer rate measureaments
35 measurements = int(args_dict.get('measurements', 10))
40 measurements=measurements, size=size, min_speed=min_speed)
Dhardware_Usb30Throughput.py35 def run_once(self, measurements=5, size=1, min_speed=300.0): argument
67 for measurement in range(measurements):
86 '(min_speed=%.2fMbit/sec)' % (num_failures, measurements,
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DConsoleOutput.java98 .putAll(Multimaps.index(trial.measurements(), new Function<Measurement, String>() { in processTrial()
106 Collection<Measurement> measurements = entry.getValue(); in processTrial() local
107 ImmutableSet<String> units = FluentIterable.from(measurements) in processTrial()
113 double[] weightedValues = new double[measurements.size()]; in processTrial()
115 for (Measurement measurement : measurements) { in processTrial()
135 numMeasurements += trial.measurements().size(); in processTrial()
DRuntimeInstrument.java247 final List<Measurement> measurements = Lists.newArrayList(); field in RuntimeInstrument.RuntimeMeasurementCollector
308 ImmutableList<Measurement> newMeasurements = logMessage.measurements(); in visit()
329 this.measurements.addAll(newMeasurements); in visit()
340 return ImmutableList.copyOf(measurements); in getMeasurements()
360 return measurements.size() >= targetMeasurements; in isDoneCollecting()
/external/v8/tools/
Davg.py181 measurements = Measurements() variable
186 measurements.print_status()
188 measurements.print_results()
202 measurements.record(m.group('key'), m.group('value'), m.group('unit'))
207 measurements.print_status()
210 measurements.print_results()
/external/autotest/client/cros/power/
Dpower_test.py49 measurements = []
51 measurements.append(
54 measurements += power_rapl.create_powercap()
56 measurements += power_rapl.create_rapl()
57 self._plog = power_status.PowerLogger(measurements,
/external/autotest/client/site_tests/audio_PlaybackPower/
Daudio_PlaybackPower.py58 measurements = [power_status.SystemPower(
62 power_logger = power_status.PowerLogger(measurements)
70 return keyval['result_' + measurements[0].domain + '_pwr']
/external/walt/docs/
DAudioLatency.md37 ### Sample measurements
51 #### Published round trip measurements argument
55 …udio round trip measurements published by Android group](https://source.android.com/devices/audio/…
56 * [Audio round trip measurements published by Superpowered Inc.](http://superpowered.com/latency)
DScreenLatency.md16 ### Sample measurements
29 All measurements below were taken with the device set to max brightness and WALT positioned in the …
/external/caliper/caliper/src/main/resources/com/google/caliper/config/
Dglobal-config.properties40 # Do not report any measurements from before this minimum time has elapsed
52 # Caliper ultimately records only the final N measurements, where N is this value.
53 instrument.runtime.options.measurements=9
60 # take proper measurements due to granularity issues.
/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp486 bool goodEnoughMeasurements (const vector<Measurement>& measurements) const;
657 bool goodEnoughMeasurements (const vector<Measurement>& measurements) const;
1834 bool ShaderCompilerCase::goodEnoughMeasurements (const vector<Measurement>& measurements) const in goodEnoughMeasurements()
1836 if ((int)measurements.size() < m_minimumMeasurementCount) in goodEnoughMeasurements()
1840 if ((int)measurements.size() >= m_maximumMeasurementCount) in goodEnoughMeasurements()
1845 for (int i = 0; i < (int)measurements.size(); i++) in goodEnoughMeasurements()
1846 totalTimesWithoutDraw.push_back(measurements[i].totalTimeWithoutDraw()); in goodEnoughMeasurements()
1882 vector<Measurement> measurements; in iterate() local
1891 while (!goodEnoughMeasurements(measurements)) in iterate()
1897 ProgramContext progCtx = generateShaderData((int)measurements.size()); in iterate()
[all …]
/external/deqp/modules/gles3/performance/
Des3pShaderCompilationCases.cpp486 bool goodEnoughMeasurements (const vector<Measurement>& measurements) const;
657 bool goodEnoughMeasurements (const vector<Measurement>& measurements) const;
1854 bool ShaderCompilerCase::goodEnoughMeasurements (const vector<Measurement>& measurements) const in goodEnoughMeasurements()
1856 if ((int)measurements.size() < m_minimumMeasurementCount) in goodEnoughMeasurements()
1860 if ((int)measurements.size() >= m_maximumMeasurementCount) in goodEnoughMeasurements()
1865 for (int i = 0; i < (int)measurements.size(); i++) in goodEnoughMeasurements()
1866 totalTimesWithoutDraw.push_back(measurements[i].totalTimeWithoutDraw()); in goodEnoughMeasurements()
1902 vector<Measurement> measurements; in iterate() local
1911 while (!goodEnoughMeasurements(measurements)) in iterate()
1917 ProgramContext progCtx = generateShaderData((int)measurements.size()); in iterate()
[all …]
/external/autotest/client/site_tests/video_JDAPerf/
Dvideo_JDAPerf.py130 measurements = [power_status.SystemPower(
134 power_logger = power_status.PowerLogger(measurements)
140 return keyval['result_' + measurements[0].domain + '_pwr_avg']
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DWorkerEventLog.java69 ShouldContinueMessage notifyMeasurementEnding(Iterable<Measurement> measurements) throws in notifyMeasurementEnding() argument
71 writer.write(new StopMeasurementLogMessage(measurements)); in notifyMeasurementEnding()
/external/autotest/client/site_tests/video_PlaybackPerf/
Dvideo_PlaybackPerf.py236 measurements = [power_status.SystemPower(
239 measurements += power_rapl.create_rapl()
242 power_logger = power_status.PowerLogger(measurements)
254 for measurement in measurements:
/external/autotest/client/site_tests/video_WebRtcPerf/
Dvideo_WebRtcPerf.py310 measurements = [power_status.SystemPower(
314 power_logger = power_status.PowerLogger(measurements)
325 metric_name = 'result_' + measurements[0].domain
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Dsegmentation_test.py164 from scipy.ndimage import measurements
173 components = np.asarray([measurements.label(image)[0] for image in images])

123456