/tools/trebuchet/trebuchet/startup-common/src/ |
D | StartupCommon.kt | 53 val endTime : Double, in <lambda>() constant in StartupEvent 142 …Proc = this.findProcess(newProcName, systemServerSlice.startTime, systemServerSlice.endTime) in Model() 143 …stSlice(SLICE_NAME_PROC_START, newProcName, systemServerSlice.startTime, systemServerSlice.endTime) in Model() 152 schedSlice.startTime >= systemServerSlice.endTime -> return@schedLoop in Model() 153 …schedSlice.endTime <= systemServerSlice.endTime -> schedSliceInfo[schedSlice.state] = origVal + … 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() 193 if (slice.endTime <= systemServerSlice.endTime) { in Model() 239 systemServerSlice.endTime, in Model()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | SliceGroupBuilder.kt | 50 it.endTime = maxTimestamp in autoCloseOpenSlices() 61 override var endTime: Double = Double.NaN, variable in trebuchet.model.fragments.SliceGroupBuilder.MutableSliceGroup 76 if (!endTime.isFinite() || endTime < 0) { in validate() 77 throw IllegalStateException("Invalid endTime $endTime") in validate() 79 if (endTime < startTime) { in validate() 80 … throw IllegalStateException("endTime $endTime cannot be before startTime $startTime") in validate()
|
D | AsyncSlicesBuilder.kt | 24 override var endTime: Double, variable in trebuchet.model.fragments.AsyncSlice 45 fun closeAsyncSlice(pid: Int, name: String, cookie: Int, endTime: Double) { in closeAsyncSlice() 47 slice.endTime = endTime in closeAsyncSlice() 55 slice.endTime = maxTimestamp in autoCloseOpenSlices()
|
D | SchedulingProcessFragment.kt | 22 override var endTime: Double = Double.MAX_VALUE variable in trebuchet.model.fragments.SchedulingProcessFragment 29 if (_slices.last().endTime == Double.MAX_VALUE) { in switchProcess() 30 _slices.last().endTime = timestamp in switchProcess() 62 override val didNotFinish: Boolean get() = endTime == Double.MAX_VALUE
|
D | SchedulingSliceFragment.kt | 25 override var endTime: Double = Double.MAX_VALUE variable in trebuchet.model.fragments.SchedulingSliceFragment 38 _slices.last().endTime = timestamp in switchState()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/ |
D | SliceGroupBuilderTest.kt | 32 it.endTime = 2.0 in testSimpleBuild() 35 assertEquals(2.0, slice.endTime) in testSimpleBuild() 51 it.endTime = 1.2 in testNestedBuild() 54 assertEquals(1.2, child.endTime) in testNestedBuild() 58 it.endTime = 2.0 in testNestedBuild() 61 assertEquals(2.0, slice.endTime) in testNestedBuild()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 114 mResultHolder.endTime = 10L; in testBasicFormat() 166 mResultHolder.endTime = 10L; in testFailuresReporting() 203 assertEquals(holder.endTime, mResultHolder.endTime); in testFailuresReporting() 231 mResultHolder.endTime = 10L; in testFailuresReporting_notDone() 271 assertEquals(holder.endTime, mResultHolder.endTime); in testFailuresReporting_notDone() 297 mResultHolder.endTime = 10L; in testFailuresReporting_largeStackTrace() 334 assertEquals(holder.endTime, mResultHolder.endTime); in testFailuresReporting_largeStackTrace() 359 mResultHolder.endTime = 10L; in testAssumptionFailures_Ignore_Reporting() 387 assertEquals(holder.endTime, mResultHolder.endTime); in testAssumptionFailures_Ignore_Reporting() 422 mResultHolder.endTime = 10L; in testLogReporting() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestResultListener.java | 93 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 95 reportTestFinish(test, endTime); in testEnded() 100 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 102 reportTestFinish(test, endTime); in testEnded() 120 private void reportTestFinish(TestDescription test, long endTime) { in reportTestFinish() argument 126 mCurrentResult.setEndTime(endTime); in reportTestFinish()
|
D | FilteredResultForwarder.java | 63 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 67 super.testEnded(test, endTime, testMetrics); in testEnded() 71 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 75 super.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultRecordHandler.java | 56 String endTime, in Record() argument 62 mEndTime = "null".equals(endTime) ? 0 : Long.parseLong(endTime); in Record() 129 public Builder setEndTime(String endTime) { in setEndTime() argument 130 mEndTime = endTime; in setEndTime()
|
/tools/trebuchet/trebuchet/analyzer/src/ |
D | Analyzer.kt | 46 val startupDuration = end.endTime - start.startTime in measureStartup() 61 && it.startTime > slice.endTime in measureRotator() 62 && it.endTime < cutoff in measureRotator() 65 val duration = retire.endTime - slice.startTime in measureRotator()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticLaunchTest.java | 721 private double endTime; field in HermeticLaunchTest.SectionPeriod 724 public SectionPeriod(double startTime, double endTime) { in SectionPeriod() argument 726 this.endTime = endTime; in SectionPeriod() 727 this.duration = endTime - startTime; in SectionPeriod() 739 return endTime; in getEndTime() 742 public void setEndTime(long endTime) { in setEndTime() argument 743 this.endTime = endTime; in setEndTime()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 237 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 238 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 250 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
|
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/ |
D | ForwardingTestListener.java | 136 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 137 delegate().testEnded(test, endTime, testMetrics); in testEnded() 141 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 142 delegate().testEnded(test, endTime, testMetrics); in testEnded()
|
D | NullTestListener.java | 129 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 134 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | TestTimeoutEnforcer.java | 119 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 128 long elapsedTime = endTime - startTime; in testEnded() 146 super.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/base/ |
D | Slice.kt | 27 val endTime: Double constant 34 val duration: Double get() = endTime - startTime
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | Sl4aBluetoothUtil.java | 623 long endTime = System.currentTimeMillis() + mBtPairTimeout.toMillis(); in waitUntilPaired() local 624 while (System.currentTimeMillis() < endTime) { in waitUntilPaired() 676 long endTime = System.currentTimeMillis() + mBtConnectionTimeout.toMillis(); in waitForRemainingProfilesConnected() local 677 while (System.currentTimeMillis() < endTime in waitForRemainingProfilesConnected() 699 long endTime = System.currentTimeMillis() + mBtConnectionTimeout.toMillis(); in waitForRemainingProfilesDisconnected() local 700 while (System.currentTimeMillis() < endTime in waitForRemainingProfilesDisconnected()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | DmesgServiceInfoItem.java | 85 public void setEndTime(Long endTime) { in setEndTime() argument 86 setAttribute(SERVICE_END_TIME, endTime); in setEndTime()
|
D | GenericTimingItem.java | 68 public void setStartAndEnd(double startTime, double endTime) { in setStartAndEnd() argument 70 setAttribute(END_TIME, endTime); in setStartAndEnd()
|
D | DmesgModuleInfoItem.java | 87 public void setEndTime(Long endTime) { in setEndTime() argument 88 setAttribute(MODULE_END_TIME, endTime); in setEndTime()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/ |
D | CecControllerTokenProvider.java | 72 long endTime = startTime; in checkConsoleOutput() local 81 endTime = System.currentTimeMillis(); in checkConsoleOutput() 82 } while ((endTime - startTime <= timeoutMillis)); in checkConsoleOutput()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestMetricsCollectionListener.java | 61 long endTime, in testEnded() argument 63 super.testEnded(test, endTime, testMetrics); in testEnded() 66 mListener.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | GameQualificationFpsCollector.java | 291 long endTime = e.getTimestamp() * 1000000; /* ms to ns */ in doEnd() local 294 … processTimestampsSlice(summaryBuilder, runIndex++, startTime, endTime, outputFile); in doEnd() 296 startTime = endTime; in doEnd()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/ |
D | SliceTrack.kt | 52 val scaledWidth = (it.endTime - it.startTime) * scale in paintComponent() 91 it.endTime < timestamp -> -1 in <lambda>()
|