Home
last modified time | relevance | path

Searched refs:accumulatedTime (Results 1 – 10 of 10) sorted by relevance

/aosp12/system/libfmq/benchmarks/
H A Dmsgq_benchmark_client.cpp119 int64_t accumulatedTime = 0; in TEST_F() local
142 accumulatedTime /= kNumIterations; in TEST_F()
145 accumulatedTime << "ns" << endl; in TEST_F()
157 uint64_t accumulatedTime = 0; in TEST_F() local
190 uint64_t accumulatedTime = 0; in TEST_F() local
223 uint64_t accumulatedTime = 0; in TEST_F() local
256 uint64_t accumulatedTime = 0; in TEST_F() local
287 uint64_t accumulatedTime = 0; in TEST_F() local
321 uint64_t accumulatedTime = 0; in TEST_F() local
354 uint64_t accumulatedTime = 0; in TEST_F() local
[all …]
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DStopwatchDAO.kt52 val accumulatedTime: Long = prefs.getLong(ACCUMULATED_TIME, 0)
53 var s = Stopwatch(state, lastStartTime, lastWallClockTime, accumulatedTime)
78 .putLong(ACCUMULATED_TIME, stopwatch.accumulatedTime)
98 val accumulatedTime: Long = prefs.getLong(lapAccumulatedTimeKey, 0)
101 val lapTime = accumulatedTime - prevAccumulatedTime
104 laps.add(Lap(lapNumber, lapTime, accumulatedTime))
107 prevAccumulatedTime = accumulatedTime
120 fun addLap(prefs: SharedPreferences, newLapCount: Int, accumulatedTime: Long) {
123 .putLong(LAP_ACCUMULATED_TIME + newLapCount, accumulatedTime)
H A DStopwatch.kt34 val accumulatedTime: Long
56 return accumulatedTime
64 return accumulatedTime + max(0, timeSinceStart)
108 return Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta)
129 Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta)
H A DStopwatchModel.kt138 val prevAccumulatedTime = if (laps.isEmpty()) 0 else laps[0].accumulatedTime
187 val currentLapTime = stopwatch.totalTime - laps[0].accumulatedTime
204 val currentLapTime = time - previousLap.accumulatedTime
H A DLap.kt28 val accumulatedTime: Long
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/
H A DStopwatchTextController.kt33 fun setTimeString(accumulatedTime: Long) {
36 if (mLastTime / 10 == accumulatedTime / 10) {
40 val hours = (accumulatedTime / DateUtils.HOUR_IN_MILLIS).toInt()
41 var remainder = (accumulatedTime % DateUtils.HOUR_IN_MILLIS).toInt()
54 accumulatedTime / DateUtils.SECOND_IN_MILLIS) {
59 mLastTime = accumulatedTime
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DLapsAdapter.kt86 totalTime = lap.accumulatedTime
96 viewHolder.accumulatedTime.setText(formatAccumulatedTime(totalTime, true))
125 holder.accumulatedTime.setText(formatAccumulatedTime(totalTime, false))
246 private fun formatAccumulatedTime(accumulatedTime: Long, isBinding: Boolean): String {
248 val longestAccumulatedTime = max(totalTime, accumulatedTime)
249 val formattedTime = formatTime(longestAccumulatedTime, accumulatedTime, LRM_SPACE)
273 val accumulatedTime: TextView
278 accumulatedTime = itemView.findViewById(R.id.lap_total) as TextView
H A DStopwatchCircleView.kt126 val currentLapTime = stopwatch.totalTime - priorLap.accumulatedTime
/aosp12/hardware/interfaces/tests/msgq/1.0/default/
H A DBenchmarkMsgQ.cpp95 int64_t accumulatedTime = 0; in sendTimeData() local
103 accumulatedTime += static_cast<int64_t>( in sendTimeData()
108 accumulatedTime /= clientRcvTimeArray.size(); in sendTimeData()
110 << accumulatedTime << "ns" << std::endl; in sendTimeData()
/aosp12/packages/modules/DnsResolver/tests/
H A Dresolv_integration_test.cpp5920 int64_t accumulatedTime = 0; in TEST_F() local
5941 accumulatedTime += s.timeTakenUs(); in TEST_F()
5956 const int averageTime = accumulatedTime / queryNum; in TEST_F()