Home
last modified time | relevance | path

Searched refs:startTime (Results 1 – 25 of 36) sorted by relevance

12

/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt52 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/
DSliceQueries.kt116 … return this.processes.values.mapNotNull { it.selectFirst(predicate) }.minByOrNull { 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/trebuchet/core/common/src/test/kotlin/trebuchet/model/
DSliceGroupBuilderTest.kt28 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/
DSliceGroupBuilder.kt60 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()
DAsyncSlicesBuilder.kt23 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()
DSchedulingSliceFragment.kt23 class SchedulingSliceFragment(override val state: SchedulingState, override val startTime: Double) constant in trebuchet.model.fragments.SchedulingSliceFragment
/tools/trebuchet/trebuchet/analyzer/src/
DAnalyzer.kt46 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/loganalysis/src/com/android/loganalysis/item/
DDmesgActionInfoItem.java49 public DmesgActionInfoItem(String source, String name, Long startTime) { in DmesgActionInfoItem() argument
53 setAttribute(ACTION_START_TIME, startTime); in DmesgActionInfoItem()
94 public void setStartTime(Long startTime) { in setStartTime() argument
95 setAttribute(ACTION_START_TIME, startTime); in setStartTime()
DDmesgStageInfoItem.java49 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()
DSystemServicesTimingItem.java81 public void setStartTime(double startTime) { in setStartTime() argument
82 setAttribute(START_TIME, startTime); in setStartTime()
DDmesgServiceInfoItem.java71 public void setStartTime(Long startTime) { in setStartTime() argument
72 setAttribute(SERVICE_START_TIME, startTime); in setStartTime()
DGenericTimingItem.java68 public void setStartAndEnd(double startTime, double endTime) { in setStartAndEnd() argument
69 setAttribute(START_TIME, startTime); in setStartAndEnd()
DDmesgModuleInfoItem.java77 public void setStartTime(Long startTime) { in setStartTime() argument
78 setAttribute(MODULE_START_TIME, startTime); in setStartTime()
DSmartMonkeyLogItem.java205 Date startTime = getStartTime(); in getTotalDuration()
207 return endTime.getTime() - startTime.getTime() / 1000; in getTotalDuration()
/tools/trebuchet/trebuchet/startup-summarizer/src/
DStartupSummarizer.kt195 …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/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationTest.java125 Date startTime = new Date(new Date().getTime() - 1000); in testEcAttestation() local
126 Log.d("****", "Start Time is: " + startTime.toString()); in testEcAttestation()
127 Date originationEnd = new Date(startTime.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation()
128 Date consumptionEnd = new Date(startTime.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation()
135 builder.setKeyValidityStart(startTime) in testEcAttestation()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java269 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/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt51 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/test/connectivity/acts_tests/tests/google/wifi/
DWifiStressTest.py247 startTime = time.time()
249 startup_time = time.time() - startTime
268 startTime = time.time()
270 startup_time = time.time() - startTime
563 startTime = time.time()
565 startup_time = time.time() - startTime
DWifiBtStressCoexTest.py237 startTime = time.time()
239 startup_time = time.time() - startTime
263 startTime = time.time()
265 startup_time = time.time() - startTime
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/
DBazelXmlResultReporter.java99 public void testRunStarted(String name, int numTests, int attemptNumber, long startTime) { in testRunStarted() argument
100 mTestRunResult.testRunStarted(name, numTests, startTime); in testRunStarted()
129 public void testStarted(TestDescription test, long startTime) { in testStarted() argument
130 mTestRunResult.testStarted(test, startTime); in testStarted()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/base/
DSlice.kt23 val startTime: Double constant
34 val duration: Double get() = endTime - startTime
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DAnimator.kt27 val startTime: Long = System.currentTimeMillis() constant in traceviewer.ui.Animator
30 val frac = maxOf(0f, minOf(1f, (now - startTime).toFloat() / duration.toFloat())) in animate()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java242 long startTime = System.currentTimeMillis(); in run() local
294 listener.testRunEnded(System.currentTimeMillis() - startTime, runMetrics); in run()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DWorkqueueEvent.kt25 it.startTime = event.timestamp in <lambda>()

12