Home
last modified time | relevance | path

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

1234

/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/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/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/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dandroid_temperature_monitor_unittest.py24 measurements = monitor.StopMonitoringPower()
29 self.assertDictEqual(expected_return, measurements)
40 measurements = monitor.StopMonitoringPower()
41 self.assertTrue('identifier' in measurements)
42 self.assertTrue('platform_info' not in measurements)
/external/v8/test/js-perf-test/
Dbase.js177 BenchmarkSuite.GeometricMeanTime = function(measurements) { argument
179 for (var i = 0; i < measurements.length; i++) {
180 log += Math.log(measurements[i].time);
182 return Math.pow(Math.E, log / measurements.length);
187 BenchmarkSuite.GeometricMeanLatency = function(measurements) { argument
190 for (var i = 0; i < measurements.length; i++) {
191 if (measurements[i].latency != 0) {
192 log += Math.log(measurements[i].latency);
197 return Math.pow(Math.E, log / measurements.length);
/external/skia/tools/VisualBench/
DVisualLightweightBenchModule.cpp83 const SkTArray<double>& measurements = fRecords.back().fMeasurements; in printStats() local
115 SkASSERT(measurements.count()); in printStats()
116 Stats stats(measurements); in printStats()
121 for (int i = 0; i < measurements.count(); i++) { in printStats()
122 SkDebugf("%s ", HUMANIZE(measurements[i])); in printStats()
/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/autotest/client/site_tests/power_Idle/
Dpower_Idle.py43 measurements = []
45 measurements.append(
48 measurements += power_rapl.create_rapl()
49 self._plog = power_status.PowerLogger(measurements,
/external/autotest/client/site_tests/audio_PlaybackPower/
Daudio_PlaybackPower.py57 measurements = [power_status.SystemPower(
61 power_logger = power_status.PowerLogger(measurements)
69 return keyval['result_' + measurements[0].domain + '_pwr']
/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/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.py202 measurements = [power_status.SystemPower(
206 power_logger = power_status.PowerLogger(measurements)
213 return keyval['result_' + measurements[0].domain + '_pwr']
/external/lldb/tools/lldb-perf/
DREADME14 a metric. You define measurements as in “take the time to run this function”,
17 - Tests: a test is a sequence of steps and measurements.
28 Usually, you will define measurements as variables of your test case class:
140 you will essentially run your measurements and then return what you want the
181 DoTest() is a function I define in my own class that calls the measurements:
223 Essentially, you call your measurements as if they were functions, passing
278 For now, pretty much copy this and just call Write() on all your measurements.
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dgraphics_WebGLAquarium.py162 measurements = [
167 power_logger = power_status.PowerLogger(measurements)
175 return keyval['result_' + measurements[0].domain + '_pwr']
/external/autotest/client/site_tests/video_WebRtcPerf/
Dvideo_WebRtcPerf.py258 measurements = [power_status.SystemPower(
262 power_logger = power_status.PowerLogger(measurements)
269 return keyval['result_' + measurements[0].domain + '_pwr']
/external/webrtc/tools/cpu/
DREADME1 This directory contains a little utility for doing CPU measurements.
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DArbitraryMeasurmentInstrumentTest.java45 Iterables.getOnlyElement(runner.trials()).measurements()); in testSuccess()

1234