Home
last modified time | relevance | path

Searched refs:numSamples (Results 1 – 2 of 2) sorted by relevance

/tools/trebuchet/trebuchet/startup-summarizer/src/
DStartupSummarizer.kt77 fun numSamples() : Int { in numSamples() method
86 fun numSamples() : Int { in numSamples() method in ApplicationRecord
87 return this.quicken.numSamples() + this.speed.numSamples() + this.speedProfile.numSamples() in numSamples()
156 if (record.numSamples() > SAMPLE_THRESHOLD_APPLICATION) { in printPlainText()
165 if (record.quicken.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordPlainText()
170 if (record.speed.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordPlainText()
175 if (record.speedProfile.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordPlainText()
272 if (record.numSamples() > SAMPLE_THRESHOLD_APPLICATION) { in printCSV()
279 if (record.quicken.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordCSV()
283 if (record.speed.numSamples() > SAMPLE_THRESHOLD_COMPILER) { in printAppRecordCSV()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceUtilStatsMonitor.java199 long numSamples = deviceRecordEntry.getValue().getTotalSamples(); in getUtilizationStats() local
201 totalSamples += numSamples; in getUtilizationStats()
202 deviceUtilMap.put(deviceRecordEntry.getKey(), getUtil(allocSamples, numSamples)); in getUtilizationStats()
211 private static int getUtil(long allocSamples, long numSamples) { in getUtil() argument
212 if (numSamples <= 0) { in getUtil()
215 return (int)((allocSamples * 100) / numSamples); in getUtil()