OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:accumulatedtime
(Results
1 - 7
of
7
) sorted by null
/system/libfmq/benchmarks/
msgq_benchmark_client.cpp
119
int64_t
accumulatedTime
= 0;
140
accumulatedTime
+= static_cast<int64_t>(std::chrono::duration_cast<std::chrono::nanoseconds>(
142
accumulatedTime
/= kNumIterations;
145
accumulatedTime
<< "ns" << endl;
157
uint64_t
accumulatedTime
= 0;
173
accumulatedTime
+= (timeEnd - timeStart).count();
176
accumulatedTime
/= (numLoops * kNumIterations);
178
<< "bytes: " <<
accumulatedTime
<< "ns" << endl;
190
uint64_t
accumulatedTime
= 0;
207
accumulatedTime
+= (timeEnd - timeStart).count()
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/
StopwatchTextController.java
43
public void setTimeString(long
accumulatedTime
) {
46
if ((mLastTime / 10) == (
accumulatedTime
/ 10)) {
50
final int hours = (int) (
accumulatedTime
/ HOUR_IN_MILLIS);
51
int remainder = (int) (
accumulatedTime
% HOUR_IN_MILLIS);
64
if ((mLastTime / SECOND_IN_MILLIS) != (
accumulatedTime
/ SECOND_IN_MILLIS)) {
69
mLastTime =
accumulatedTime
;
/packages/apps/DeskClock/src/com/android/deskclock/data/
StopwatchDAO.java
63
final long
accumulatedTime
= prefs.getLong(ACCUMULATED_TIME, 0);
64
Stopwatch s = new Stopwatch(state, lastStartTime, lastWallClockTime,
accumulatedTime
);
109
final long
accumulatedTime
= prefs.getLong(lapAccumulatedTimeKey, 0);
112
final long lapTime =
accumulatedTime
- prevAccumulatedTime;
115
laps.add(new Lap(lapNumber, lapTime,
accumulatedTime
));
118
prevAccumulatedTime =
accumulatedTime
;
129
* @param
accumulatedTime
the amount of time accumulate by the stopwatch at the end of the lap
131
static void addLap(SharedPreferences prefs, int newLapCount, long
accumulatedTime
) {
134
.putLong(LAP_ACCUMULATED_TIME + newLapCount,
accumulatedTime
)
Lap.java
33
Lap(int lapNumber, long lapTime, long
accumulatedTime
) {
36
mAccumulatedTime =
accumulatedTime
;
Stopwatch.java
49
Stopwatch(State state, long lastStartTime, long lastWallClockTime, long
accumulatedTime
) {
53
mAccumulatedTime =
accumulatedTime
;
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
LapsAdapter.java
109
viewHolder.
accumulatedTime
.setText(formatAccumulatedTime(totalTime, true));
140
holder.
accumulatedTime
.setText(formatAccumulatedTime(totalTime, false));
313
* @param
accumulatedTime
the accumulated time to be formatted
318
private String formatAccumulatedTime(long
accumulatedTime
, boolean isBinding) {
320
final long longestAccumulatedTime = Math.max(totalTime,
accumulatedTime
);
321
final String formattedTime = formatTime(longestAccumulatedTime,
accumulatedTime
, LRM_SPACE);
348
private final TextView
accumulatedTime
;
355
accumulatedTime
= (TextView) itemView.findViewById(R.id.lap_total);
/hardware/interfaces/tests/msgq/1.0/default/
BenchmarkMsgQ.cpp
95
int64_t
accumulatedTime
= 0;
103
accumulatedTime
+= static_cast<int64_t>(
108
accumulatedTime
/= clientRcvTimeArray.size();
110
<<
accumulatedTime
<< "ns" << std::endl;
Completed in 160 milliseconds