/tools/trebuchet/trebuchet/startup-common/src/ |
D | StartupCommon.kt | 52 val startTime : Double, in <lambda>() constant 117 map { it.first().startTime }. in findProcess() 142 …val newProc = this.findProcess(newProcName, systemServerSlice.startTime, systemServerSlice.… in Model() 143 …oc.findFirstSlice(SLICE_NAME_PROC_START, newProcName, systemServerSlice.startTime, systemServerSli… in Model() 144 …rProc.findFirstSliceOrNull(SLICE_NAME_REPORT_FULLY_DRAWN, newProcName, systemServerSlice.startTime) in Model() 145 …val firstSliceTime = newProc.threads.map { it.slices.firstOrNull()?.startTime ?: Double.POSITIVE_I… in Model() 152 schedSlice.startTime >= systemServerSlice.endTime -> return@schedLoop in Model() 155 … schedSliceInfo[schedSlice.state] = origVal + (systemServerSlice.endTime - schedSlice.startTime) in Model() 183 if (slice.startTime < systemServerSlice.endTime) { in Model() 190 … undifferentiatedTime += (slice.startTime - this.lastTopLevelSlice!!.endTime) in Model() [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/ |
D | SliceQueries.kt | 116 return this.processes.values.mapNotNull { it.selectFirst(predicate) }.minBy { it.startTime } in selectFirst() 138 if (threadSlice != null && (ret == null || threadSlice.startTime < ret!!.startTime)) { in ProcessModel() 331 lowerBound <= slice.startTime && in ProcessModel() 332 slice.startTime <= upperBound in ProcessModel() 351 lowerBound <= slice.startTime && in ProcessModel() 352 slice.startTime <= upperBound in ProcessModel() 376 lowerBound <= slice.startTime && in ProcessModel() 377 slice.startTime <= upperBound in ProcessModel() 396 lowerBound <= slice.startTime && in ProcessModel() 397 slice.startTime <= upperBound in ProcessModel()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 55 public void testStarted(TestDescription test, long startTime) { in testStarted() argument 56 mStartTime = startTime; in testStarted() 57 super.testStarted(test, startTime); in testStarted() 96 private String extractCrashAndAddToMessage(String errorMessage, Long startTime) { in extractCrashAndAddToMessage() argument 97 if (errorMessage.contains(ERROR_MESSAGE) && startTime != null) { in extractCrashAndAddToMessage() 98 mLogcatItem = extractLogcat(mDevice, startTime); in extractCrashAndAddToMessage() 111 private LogcatItem extractLogcat(ITestDevice device, long startTime) { in extractLogcat() argument 112 try (InputStreamSource logSource = device.getLogcatSince(startTime)) { in extractLogcat()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 102 mResultHolder.startTime = 0L; in testBasicFormat() 154 mResultHolder.startTime = 0L; in testFailuresReporting() 181 assertEquals(holder.startTime, mResultHolder.startTime); in testFailuresReporting() 206 mResultHolder.startTime = 0L; in testAssumptionFailures_Ignore_Reporting() 234 assertEquals(holder.startTime, mResultHolder.startTime); in testAssumptionFailures_Ignore_Reporting() 269 mResultHolder.startTime = 0L; in testLogReporting() 318 mResultHolder.startTime = 0L; in testMetricReporting() 345 assertEquals(holder.startTime, mResultHolder.startTime); in testMetricReporting() 384 mResultHolder.startTime = 0L; in testDeviceSerials() 409 mResultHolder.startTime = 0L; in testBasicFormat_shallow() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDeviceStateMonitor.java | 164 long startTime = System.currentTimeMillis(); in waitForDeviceShell() local 166 while (System.currentTimeMillis() - startTime < waitTime) { in waitForDeviceShell() 206 long startTime = System.currentTimeMillis(); in waitForDeviceAvailable() local 211 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable() 215 elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable() 237 long startTime = System.currentTimeMillis(); in waitForBootComplete() local 239 while ((System.currentTimeMillis() - startTime) < waitTime) { in waitForBootComplete() 279 long startTime = System.currentTimeMillis(); in waitForStoreMount() local 281 while (System.currentTimeMillis() - startTime < waitTime) { in waitForStoreMount() 374 long startTime = System.currentTimeMillis(); in waitForDeviceBootloader() local [all …]
|
D | WifiHelper.java | 206 long startTime = System.currentTimeMillis(); in waitForWifiState() local 207 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiState() 303 long startTime = System.currentTimeMillis(); in waitForIp() local 305 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForIp() 379 long startTime = System.currentTimeMillis(); in waitForWifiEnabled() local 381 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiEnabled() 400 long startTime = System.currentTimeMillis(); in waitForWifiDisabled() local 402 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiDisabled()
|
D | DeviceStateMonitor.java | 47 long startTime = System.currentTimeMillis(); in waitForPmResponsive() local 49 while (System.currentTimeMillis() - startTime < waitTime) { in waitForPmResponsive() 80 long startTime = System.currentTimeMillis(); in postOnlineCheck() local 84 long elapsedTime = System.currentTimeMillis() - startTime; in postOnlineCheck()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/ |
D | SliceGroupBuilderTest.kt | 28 it.startTime = 1.0 in testSimpleBuild() 34 assertEquals(1.0, slice.startTime) in testSimpleBuild() 43 it.startTime = 1.0 in testNestedBuild() 47 it.startTime = 1.1 in testNestedBuild() 53 assertEquals(1.1, child.startTime) in testNestedBuild() 60 assertEquals(1.0, slice.startTime) in testNestedBuild()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | SliceGroupBuilder.kt | 60 class MutableSliceGroup(override var startTime: Double = Double.NaN, variable in trebuchet.model.fragments.SliceGroupBuilder.MutableSliceGroup 73 if (!startTime.isFinite() || startTime < 0) { in validate() 74 throw IllegalStateException("Invalid startTime $startTime") in validate() 79 if (endTime < startTime) { in validate() 80 … throw IllegalStateException("endTime $endTime cannot be before startTime $startTime") in validate()
|
D | AsyncSlicesBuilder.kt | 23 override val startTime: Double, constant in trebuchet.model.fragments.AsyncSlice 40 fun openAsyncSlice(pid: Int, name: String, cookie: Int, startTime: Double) { in openAsyncSlice() 41 openSlices[key(name, cookie)] = AsyncSlice(startTime, Double.NaN, name, cookie, in openAsyncSlice()
|
/tools/trebuchet/trebuchet/analyzer/src/ |
D | Analyzer.kt | 46 val startupDuration = end.endTime - start.startTime in measureStartup() 58 …val cutoff = if (index < latchBuffers.size - 1) latchBuffers[index + 1].startTime else Double.MAX_… in measureRotator() 61 && it.startTime > slice.endTime in measureRotator() 65 val duration = retire.endTime - slice.startTime in measureRotator() 68 latchStart = slice.startTime in measureRotator() 69 retireStart = retire.startTime in measureRotator()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporter.java | 133 Timestamp startTime = createTimeStamp(mInvocationStartTime); in invocationStarted() local 134 mInvocationRecordBuilder.setStartTime(startTime); in invocationStarted() 242 public void testRunStarted(String runName, int testCount, int attemptNumber, long startTime) { in testRunStarted() argument 248 runBuilder.setStartTime(createTimeStamp(startTime)); in testRunStarted() 280 long startTime = timeStampToMillis(runBuilder.getStartTime()); in testRunEnded() local 281 runBuilder.setEndTime(createTimeStamp(startTime + elapsedTimeMillis)); in testRunEnded() 304 public final void testStarted(TestDescription test, long startTime) { in testStarted() argument 309 testBuilder.setStartTime(createTimeStamp(startTime)); in testStarted()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticLaunchTest.java | 657 .startTime; in averageAtraceData() 658 if (drawStartTime < secPeriod.startTime) { in averageAtraceData() 720 private double startTime; field in HermeticLaunchTest.SectionPeriod 724 public SectionPeriod(double startTime, double endTime) { in SectionPeriod() argument 725 this.startTime = startTime; in SectionPeriod() 727 this.duration = endTime - startTime; in SectionPeriod() 731 return startTime; in getStartTime() 734 public void setStartTime(long startTime) { in setStartTime() argument 735 this.startTime = startTime; in setStartTime()
|
D | StartupMetricsTest.java | 103 long startTime = System.currentTimeMillis(); in executeRebootTest() local 109 double offlineDuration = onlineTime - startTime; in executeRebootTest() 110 double unavailDuration = availableTime - startTime; in executeRebootTest() 252 long startTime = System.currentTimeMillis(); in waitForBootComplete() local 253 while ((System.currentTimeMillis() - startTime) < timeOut) { in waitForBootComplete()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | DmesgActionInfoItem.java | 47 public DmesgActionInfoItem(String name, Long startTime) { in DmesgActionInfoItem() argument 50 setAttribute(ACTION_START_TIME, startTime); in DmesgActionInfoItem() 77 public void setStartTime(Long startTime) { in setStartTime() argument 78 setAttribute(ACTION_START_TIME, startTime); in setStartTime()
|
D | DmesgStageInfoItem.java | 49 public DmesgStageInfoItem(String name, Long startTime, Long duration) { in DmesgStageInfoItem() argument 52 setAttribute(STAGE_START_TIME, startTime); in DmesgStageInfoItem() 80 public void setStartTime(Long startTime) { in setStartTime() argument 81 setAttribute(STAGE_START_TIME, startTime); in setStartTime()
|
/tools/trebuchet/trebuchet/startup-summarizer/src/ |
D | StartupSummarizer.kt | 195 …tartupTimeStandardDeviation) = averageAndStandardDeviation(records.map {it.endTime - it.startTime}) in printSampleSetPlainText() 196 …iceStandardDeviation) = averageAndStandardDeviation(records.map {it.firstSliceTime - it.startTime}) in printSampleSetPlainText() 207 …rdDeviation) = averageAndStandardDeviation(records.map { it.reportFullyDrawnTime!! - it.startTime}) in printSampleSetPlainText() 305 …tartupTimeStandardDeviation) = averageAndStandardDeviation(records.map {it.endTime - it.startTime}) in printSampleSetCSV() 308 …iceStandardDeviation) = averageAndStandardDeviation(records.map {it.firstSliceTime - it.startTime}) in printSampleSetCSV() 312 …rdDeviation) = averageAndStandardDeviation(records.map { it.reportFullyDrawnTime!! - it.startTime}) in printSampleSetCSV()
|
/tools/tradefederation/contrib/src/com/android/wireless/tests/ |
D | RadioHelper.java | 135 long startTime = System.currentTimeMillis(); in radioActivation() local 136 while ((System.currentTimeMillis() - startTime) < ACTIVATION_WAITING_TIME) { in radioActivation() 152 long startTime = System.currentTimeMillis(); in waitForDataSetup() local 153 while ((System.currentTimeMillis() - startTime) < MAX_DATA_SETUP_TIME) { in waitForDataSetup()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | GameQualificationFpsCollector.java | 269 long startTime = 0L; in doEnd() local 293 if (startTime != 0) { in doEnd() 294 … processTimestampsSlice(summaryBuilder, runIndex++, startTime, endTime, outputFile); in doEnd() 296 startTime = endTime; in doEnd() 302 startTime, in doEnd()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | NativeStressTest.java | 167 long startTime = System.currentTimeMillis(); in doRunAllTestsInSubdirectory() local 186 reportTestCompleted(startTime, listener, resultParser); in doRunAllTestsInSubdirectory() 193 long startTime, ITestInvocationListener listener, NativeStressTestParser parser) { in reportTestCompleted() argument 194 final long elapsedTime = System.currentTimeMillis() - startTime; in reportTestCompleted()
|
D | SubprocessTfLauncher.java | 254 long startTime = 0l; in run() local 271 startTime = System.currentTimeMillis(); in run() 275 startTime = eventParser.getStartTime(); in run() 277 elapsedTime = System.currentTimeMillis() - startTime; in run()
|
/tools/tradefederation/contrib/src/com/android/stability/tests/ |
D | RebootStressTest.java | 179 long startTime = System.currentTimeMillis(); in run() local 205 long durationMs = System.currentTimeMillis() - startTime; in run() 252 long startTime = System.currentTimeMillis(); in doWaitAndCheck() local 257 elapsedTime += System.currentTimeMillis() - startTime; in doWaitAndCheck()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/ |
D | SliceTrack.kt | 51 x = ((it.startTime - panX) * scale).toInt() in paintComponent() 52 val scaledWidth = (it.endTime - it.startTime) * scale in paintComponent() 90 it.startTime > timestamp -> 1 in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDevice.java | 107 long startTime = getCurrentTime(); in preInvocationSetup() local 109 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() 307 long startTime = getCurrentTime(); in waitForTunnelOnline() local 308 while (getCurrentTime() - startTime < waitTime) { in waitForTunnelOnline()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/base/ |
D | Slice.kt | 23 val startTime: Double constant 34 val duration: Double get() = endTime - startTime
|