Home
last modified time | relevance | path

Searched refs:endTime (Results 1 – 25 of 43) sorted by relevance

12

/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DSliceGroupBuilder.kt50 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()
DAsyncSlicesBuilder.kt24 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()
DSchedulingProcessFragment.kt22 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
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/
DSliceGroupBuilderTest.kt32 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/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt53 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/tradefederation/core/src/com/android/tradefed/result/
DTestResultListener.java87 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument
89 reportTestFinish(test, endTime); in testEnded()
94 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
96 reportTestFinish(test, endTime); in testEnded()
114 private void reportTestFinish(TestDescription test, long endTime) { in reportTestFinish() argument
120 mCurrentResult.setEndTime(endTime); in reportTestFinish()
DFilteredResultForwarder.java63 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()
DLogcatCrashResultForwarder.java83 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
84 super.testEnded(test, endTime, testMetrics); in testEnded()
/tools/trebuchet/trebuchet/analyzer/src/
DAnalyzer.kt46 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/trebuchet/core/model/src/main/kotlin/trebuchet/model/base/
DSlice.kt27 val endTime: Double constant
34 val duration: Double get() = endTime - startTime
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java102 mResultHolder.endTime = 10L; in testBasicFormat()
154 mResultHolder.endTime = 10L; in testFailuresReporting()
181 assertEquals(holder.endTime, mResultHolder.endTime); in testFailuresReporting()
206 mResultHolder.endTime = 10L; in testFailuresReporting_notDone()
235 assertEquals(holder.endTime, mResultHolder.endTime); in testFailuresReporting_notDone()
262 mResultHolder.endTime = 10L; in testAssumptionFailures_Ignore_Reporting()
290 assertEquals(holder.endTime, mResultHolder.endTime); in testAssumptionFailures_Ignore_Reporting()
325 mResultHolder.endTime = 10L; in testLogReporting()
374 mResultHolder.endTime = 10L; in testMetricReporting()
397 assertEquals(holder.endTime, mResultHolder.endTime); in testMetricReporting()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultRecordHandler.java58 String endTime, in Record() argument
64 mEndTime = Long.parseLong(endTime); in Record()
131 public Builder setEndTime(String endTime) { in setEndTime() argument
132 mEndTime = endTime; in setEndTime()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DITestLifeCycleReceiver.java227 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument
228 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
240 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
/tools/loganalysis/src/com/android/loganalysis/item/
DDmesgServiceInfoItem.java85 public void setEndTime(Long endTime) { in setEndTime() argument
86 setAttribute(SERVICE_END_TIME, endTime); in setEndTime()
DGenericTimingItem.java68 public void setStartAndEnd(double startTime, double endTime) { in setStartAndEnd() argument
70 setAttribute(END_TIME, endTime); in setStartAndEnd()
DSmartMonkeyLogItem.java206 Date endTime = getIntermediateTime(); in getTotalDuration() local
207 return endTime.getTime() - startTime.getTime() / 1000; in getTotalDuration()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java721 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/contrib/src/com/android/media/tests/
DCameraTestMetricsCollectionListener.java60 long endTime, in testEnded() argument
62 super.testEnded(test, endTime, testMetrics); in testEnded()
65 mListener.testEnded(test, endTime, testMetrics); in testEnded()
DCamera2FrameworkStressTest.java97 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
107 super.testEnded(test, endTime, testMetrics); in testEnded()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt52 val scaledWidth = (it.endTime - it.startTime) * scale in paintComponent()
91 it.endTime < timestamp -> -1 in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultHolder.java40 public long endTime; field in SuiteResultHolder
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestResultTest.java101 private TestResult createResult(TestStatus status, String stack, long startTime, long endTime) { in createResult() argument
106 result.setEndTime(endTime); in createResult()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DWorkqueueEvent.kt33 it.endTime = event.timestamp in import()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java225 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument
226 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
236 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
271 mForwarder.testEnded(test, endTime, testMetrics); in testEnded()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java291 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()

12