Home
last modified time | relevance | path

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

/test/vti/dashboard/src/main/java/com/android/vts/util/
DPerformanceSummary.java31 public final long endTime; field in PerformanceSummary
35 public PerformanceSummary(long startTime, long endTime, String label) { in PerformanceSummary() argument
38 this.endTime = endTime; in PerformanceSummary()
43 public PerformanceSummary(long startTime, long endTime) { in PerformanceSummary() argument
46 endTime, in PerformanceSummary()
48 + Long.toString(TimeUnit.MICROSECONDS.toMillis(endTime)) in PerformanceSummary()
59 return time >= startTime && time <= endTime; in contains()
DFilterUtil.java306 Key grandparentKey, String parentKind, Long startTime, Long endTime) { in getProfilingTimeFilter() argument
307 if (startTime == null && endTime == null) { in getProfilingTimeFilter()
308 endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in getProfilingTimeFilter()
325 if (endTime != null) { in getProfilingTimeFilter()
326 Key maxRunKey = KeyFactory.createKey(grandparentKey, parentKind, endTime); in getProfilingTimeFilter()
353 Key grandparentKey, String parentKind, Long startTime, Long endTime) { in getDeviceTimeFilter() argument
354 if (startTime == null && endTime == null) { in getDeviceTimeFilter()
355 endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in getDeviceTimeFilter()
370 if (endTime != null) { in getDeviceTimeFilter()
371 Key maxRunKey = KeyFactory.createKey(grandparentKey, parentKind, endTime); in getDeviceTimeFilter()
[all …]
DTestResults.java67 public long endTime = Long.MIN_VALUE; // newest timestamp displayed in the results table field in TestResults
118 if (testRunEntity.getStartTimestamp() > endTime) { in addTestRun()
119 endTime = testRunEntity.getStartTimestamp(); in addTestRun()
172 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processProfilingPoints()
193 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processDeviceInfos()
DPerformanceUtil.java147 long endTime, in updatePerformanceSummary() argument
178 endTime); in updatePerformanceSummary()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowTableServlet.java97 Long endTime = null; // time in microseconds in doGetHandler() local
122 endTime = Long.parseLong(time); in doGetHandler()
123 endTime = endTime > 0 ? endTime : null; in doGetHandler()
125 endTime = null; in doGetHandler()
149 if (startTime != null && endTime == null) { in doGetHandler()
157 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
207 request.setAttribute("endTime", new Gson().toJson(testResults.endTime)); in doGetHandler()
213 testKey, TestRunEntity.KIND, testResults.endTime))); in doGetHandler()
DShowTreeServlet.java111 Long endTime = null; // time in microseconds in doGetHandler() local
136 endTime = Long.parseLong(time); in doGetHandler()
137 endTime = endTime > 0 ? endTime : null; in doGetHandler()
139 endTime = null; in doGetHandler()
161 if (startTime != null && endTime == null) { in doGetHandler()
169 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
281 endTime = firstRun.testRun.getStartTimestamp(); in doGetHandler()
307 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler()
310 new Gson().toJson(DatastoreHelper.hasNewer(testKey, TestRunEntity.KIND, endTime))); in doGetHandler()
DShowPlanReleaseServlet.java159 Long endTime = null; // time in microseconds in getTestPlanDispatcher() local
172 endTime = Long.parseLong(time); in getTestPlanDispatcher()
173 endTime = endTime > 0 ? endTime : null; in getTestPlanDispatcher()
175 endTime = null; in getTestPlanDispatcher()
179 if (startTime != null && endTime == null) { in getTestPlanDispatcher()
200 testPlanKey, TestPlanRunEntity.KIND, startTime, endTime, typeFilter); in getTestPlanDispatcher()
272 endTime = firstRun.testPlanRun.getStartTimestamp(); in getTestPlanDispatcher()
291 testPlanKey, TestPlanRunEntity.KIND, endTime))); in getTestPlanDispatcher()
304 request.setAttribute("endTime", new Gson().toJson(endTime)); in getTestPlanDispatcher()
DShowGraphServlet.java133 Long endTime = null; in doGetHandler() local
137 endTime = Long.parseLong(time); in doGetHandler()
141 if (endTime == null) { in doGetHandler()
142 endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in doGetHandler()
144 Long startTime = endTime - TimeUnit.DAYS.toMicros(1); in doGetHandler()
155 FilterUtil.getTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler()
179 FilterUtil.getDeviceTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler()
242 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler()
DShowPlanRunServlet.java99 long endTime = 0; in doGetHandler() local
115 endTime = testPlanRun.getEndTimestamp(); in doGetHandler()
155 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler()
DShowProfilingOverviewServlet.java72 long endTime = TimeUnit.MILLISECONDS.toMicros(System.currentTimeMillis()); in doGetHandler() local
73 long startTime = endTime - TimeUnit.DAYS.toMicros(30); in doGetHandler()
115 endTime); in doGetHandler()
DShowCoverageOverviewServlet.java356 Long endTime = Calendar.getInstance().getTime().getTime() * 1000; in getCoverageDataTable() local
373 PathElement.of(TestRunEntity.KIND, endTime)) in getCoverageDataTable()
374 .newKey(endTime); in getCoverageDataTable()
DShowGreenReleaseServlet.java226 Long endTime = Calendar.getInstance().getTime().getTime() * 1000; in getTestPlanDispatcher() local
284 endTime, in getTestPlanDispatcher()
/test/vti/dashboard/src/main/webapp/js/
Dplan_runs.js33 var endTime = entry.testPlanRun.endTimestamp;
44 moment().renderTime(endTime, true) + ' (' +
45 moment().renderDuration(endTime - startTime) + ')');
Dtest_results.js232 var endTime = metadata.testRun.endTimestamp;
262 moment().renderTime(endTime, true) + ' (' +
263 moment().renderDuration(endTime - startTime) + ')');
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_release.jsp68 var endTime = ${startTime};
70 '/show_plan_release?plan=${plan}&endTime=' + endTime +
81 var startTime = ${endTime};
Dshow_graph.jsp44 date.datepicker('setDate', new Date(${endTime} / MICRO_PER_MILLI));
223 var endTime = $('#date').datepicker('getDate').getTime();
224 endTime = endTime + (ONE_DAY / MICRO_PER_MILLI) - 1;
229 '&endTime=' + (endTime * MICRO_PER_MILLI) +
Dshow_table.jsp121 var endTime = ${startTime};
123 '/show_table?testName=${testName}&endTime=' + endTime +
134 var startTime = ${endTime};
274 <c:set var='timeArgs' value='endTime=${endTime}'/>
Dshow_tree.jsp146 var endTime = ${startTime};
148 '/show_tree?testName=${testName}&endTime=' + endTime +
159 var startTime = ${endTime};
243 <c:set var='timeArgs' value='endTime=${endTime}'/>
Dshow_plan_run.jsp141 var endTime = ${endTime};
149 details.append('<b>End Time: </b>' + moment().renderTime(endTime, true) + '<br>');
150 … details.append('<b>Duration: </b>' + moment().renderDuration(endTime - startTime) + '<br>');
Dshow_suite_release.jsp259 … <jsp:setProperty name="endDateObject" property="time" value="${testSuiteResultEntity.endTime}"/>
261 …<c:set var="executionTime" scope="page" value="${(testSuiteResultEntity.endTime - testSuiteResultE…
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNModelLoadingStressTest.java64 float endTime = stopwatch.runtime(TimeUnit.SECONDS) + RUNTIME_SECONDS; in stressTestNNAPI() local
66 while (stopwatch.runtime(TimeUnit.SECONDS) < endTime) { in stressTestNNAPI()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestSuiteResultEntity.java159 @Getter @Setter Long endTime; field in TestSuiteResultEntity
231 Long endTime, in TestSuiteResultEntity() argument
252 this.endTime = endTime; in TestSuiteResultEntity()
/test/mlts/benchmark/jni/
Drun_tflite.cpp336 long long endTime = currentTimeInUsec(); in benchmark() local
344 static_cast<float>(endTime - startTime) / 1000000.0f; in benchmark()
530 const long long endTime = currentTimeInUsec(); in benchmarkSingleTypeOfCompilation() local
537 const float compilationTime = static_cast<float>(endTime - startTime) / 1000000.0f; in benchmarkSingleTypeOfCompilation()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsAlertJobServlet.java142 private static List<TestRunEntity> getTestRuns(Key testKey, long startTime, long endTime) { in getTestRuns() argument
145 long delta = endTime - startTime; in getTestRuns()
149 testKey, TestRunEntity.KIND, endTime - delta + 1, endTime, testTypeFilter); in getTestRuns()