HomeSort by relevance Sort by last modified time
    Searched refs:elapsed (Results 1 - 25 of 320) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/test/002-sleep/src/
Main.java 13 long elapsed = System.currentTimeMillis() - start; local
14 long offBy = Math.abs(elapsed - millis);
19 System.out.println("Actually slept about " + elapsed + " msec...");
  /external/netperf/src/
netcpu.h 15 extern float calc_cpu_util_internal(float elapsed);
  /external/vboot_reference/utility/
tpm-dad-lock 42 elapsed=$(( $after - $before ))
43 if [ $elapsed -gt $max ]; then
44 echo delay of $elapsed seconds after $attempts attempts
45 max=$elapsed
  /system/core/libutils/
StopWatch.cpp 46 nsecs_t elapsed = elapsedTime(); local
48 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed));
63 nsecs_t elapsed = elapsedTime(); local
65 elapsed = 0;
68 mLaps[n].soFar = elapsed;
69 mLaps[n].thisLap = n ? (elapsed - mLaps[n-1].soFar) : elapsed;
72 return elapsed;
  /hardware/bsp/intel/peripheral/libupm/src/groveehr/
groveehr.cxx 61 struct timeval elapsed, now; local
68 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 )
70 elapsed.tv_usec += 1000000;
71 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1;
75 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec;
78 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000));
  /hardware/bsp/intel/peripheral/libupm/src/grovewfs/
grovewfs.cxx 65 struct timeval elapsed, now; local
72 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 )
74 elapsed.tv_usec += 1000000;
75 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1;
79 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec;
82 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000));
  /hardware/bsp/intel/peripheral/libupm/src/ta12200/
ta12200.cxx 58 struct timeval elapsed, now; local
65 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 )
67 elapsed.tv_usec += 1000000;
68 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1;
72 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec;
75 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000));
  /hardware/bsp/intel/peripheral/libupm/src/wheelencoder/
wheelencoder.cxx 54 struct timeval elapsed, now; local
61 if( (elapsed.tv_usec = now.tv_usec - m_startTime.tv_usec) < 0 )
63 elapsed.tv_usec += 1000000;
64 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec - 1;
68 elapsed.tv_sec = now.tv_sec - m_startTime.tv_sec;
71 elapse = (uint32_t)((elapsed.tv_sec * 1000) + (elapsed.tv_usec / 1000));
  /toolchain/binutils/binutils-2.25/gold/
main.cc 260 Timer::TimeStats elapsed = timer.get_pass_time(0); local
265 elapsed.user / 1000, (elapsed.user % 1000) * 1000,
266 elapsed.sys / 1000, (elapsed.sys % 1000) * 1000,
267 elapsed.wall / 1000, (elapsed.wall % 1000) * 1000);
268 elapsed = timer.get_pass_time(1);
273 elapsed.user / 1000, (elapsed.user % 1000) * 1000
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
StopwatchTest.java 47 assertEquals(0, unstartedStopwatch.elapsed(NANOSECONDS));
52 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
101 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
104 assertEquals(3, stopwatch.elapsed(NANOSECONDS));
110 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
112 assertEquals(2, stopwatch.elapsed(NANOSECONDS));
116 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
122 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
125 assertEquals(345, stopwatch.elapsed(NANOSECONDS));
134 assertEquals(4, stopwatch.elapsed(NANOSECONDS))
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
StopwatchTest.java 48 assertEquals(0, unstartedStopwatch.elapsed(NANOSECONDS));
53 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
102 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
105 assertEquals(3, stopwatch.elapsed(NANOSECONDS));
111 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
113 assertEquals(2, stopwatch.elapsed(NANOSECONDS));
117 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
123 assertEquals(0, stopwatch.elapsed(NANOSECONDS));
126 assertEquals(345, stopwatch.elapsed(NANOSECONDS));
135 assertEquals(4, stopwatch.elapsed(NANOSECONDS))
    [all...]
  /build/kati/
timeutil.cc 42 double elapsed = GetTime() - start_; local
43 LOG_STAT("%s: %f", name_, elapsed);
  /frameworks/base/libs/hwui/utils/
Timing.h 33 long long elapsed = (stop.tv_sec * 1000000) - (mStart.tv_sec * 1000000) local
35 ALOGD("%s took %.2fms", mMethodName, elapsed / 1000.0);
  /external/v8/src/base/platform/
elapsed-timer.h 21 // |Elapsed()| or |HasExpired()|, and may be restarted using |Restart()|.
50 // Restarts the timer and returns the time elapsed since the previous start.
51 // This method is equivalent to obtaining the elapsed time with |Elapsed()|
58 TimeDelta elapsed = ticks - start_ticks_; local
59 DCHECK(elapsed.InMicroseconds() >= 0);
62 return elapsed;
65 // Returns the time elapsed since the previous start. This method may only
67 TimeDelta Elapsed() const {
69 TimeDelta elapsed = Now() - start_ticks_ local
    [all...]
  /system/connectivity/shill/net/
event_history.cc 65 struct timeval elapsed = {0, 0}; local
68 timersub(&now.boottime, &events_.front().boottime, &elapsed);
71 timersub(&now.monotonic, &events_.front().monotonic, &elapsed);
77 timersub(&now.boottime, &events_.front().boottime, &elapsed);
80 if (timercmp(&elapsed, &interval, < )) {
94 struct timeval elapsed = {0, 0}; local
97 timersub(&now.boottime, &event.boottime, &elapsed);
100 timersub(&now.monotonic, &event.monotonic, &elapsed);
106 timersub(&now.boottime, &event.boottime, &elapsed);
109 if (timercmp(&elapsed, &interval, <= ))
    [all...]
  /art/test/053-wait-some/src/
Main.java 56 long elapsed = end - start; local
68 if (elapsed < min) {
69 System.out.println(" Elapsed time was too short");
71 } else if (elapsed > max) {
72 System.out.println(" Elapsed time was too long: "
73 + "elapsed=" + elapsed + " max=" + max);
79 System.out.println(" Wall clock elapsed "
80 + elapsed + "ms");
  /external/tpm2/
Clock.c 65 // Get the time elapsed from current to the last time the _plat__ClockTimeElapsed() is called. For the first
66 // _plat__ClockTimeElapsed() call after a power on event, this call report the elapsed time from power on to
75 unsigned long long elapsed; local
77 elapsed = ((currentClock - s_initClock) * CLOCK_NOMINAL) / s_adjustRate;
78 s_initClock += (elapsed * s_adjustRate) / CLOCK_NOMINAL;
84 elapsed *= DEBUG_TIME_MULTIPLIER
86 return elapsed;
  /hardware/ti/omap4xxx/camera/
CameraHalCommon.cpp 70 unsigned long long elapsed, absolute; local
72 elapsed = ppm.tv_sec - ppm_start.tv_sec;
73 elapsed *= 1000000;
74 elapsed += ppm.tv_usec - ppm_start.tv_usec;
79 ALOGD("PPM: %s :%llu.%llu ms : %llu ms", str, ( elapsed /1000 ), ( elapsed % 1000 ), absolute);
89 Calculates and dumps the elapsed time using 'ppm_first' as
  /external/bison/lib/
timevar.c 143 /* Elapsed time for this variable. */
144 struct timevar_time_def elapsed; member in struct:timevar_def
162 /* An element on the timing stack. Elapsed time is attributed to the
186 pushed. Time elapsed since then is attributed to the topmost
259 /* Zero all elapsed times. */
276 /* Push TIMEVAR onto the timing stack. No further elapsed time is
278 subsequent elapsed time is attributed to TIMEVAR, until it is
304 /* If the stack isn't empty, attribute the current elapsed time to
307 timevar_accumulate (&stack->timevar->elapsed, &start_time, &now);
331 popped variable must be TIMEVAR. Elapsed time since the tha
    [all...]
  /external/autotest/client/tools/
avgtime 23 (user, system, elapsed, cpu) = line.split()[0:4]
26 m = re.match(r'(\d+):([\d\.]+)', elapsed)
27 elapsed = 60*int(m.group(1)) + float(m.group(2)) variable
30 list.append((user, system, elapsed, cpu))
34 print "elapsed: %0.2fs (%0.2f%%)" % avg_deviation([x[2] for x in list])
  /ndk/tests/device/test-gnustl-full/unit/cppunit/
cppunit_timer.h 77 LARGE_INTEGER elapsed; local
78 elapsed.HighPart = m_stop.HighPart - m_start.HighPart;
79 elapsed.LowPart = m_stop.LowPart - m_start.LowPart;
80 return (double)elapsed.QuadPart / (double)m_frequency.QuadPart * 1000;
  /ndk/tests/device/test-stlport/unit/cppunit/
cppunit_timer.h 77 LARGE_INTEGER elapsed; local
78 elapsed.HighPart = m_stop.HighPart - m_start.HighPart;
79 elapsed.LowPart = m_stop.LowPart - m_start.LowPart;
80 return (double)elapsed.QuadPart / (double)m_frequency.QuadPart * 1000;
  /external/strace/
strace-graph 10 # It will add elapsed time for each process in that case.
280 my $elapsed;
287 $elapsed = $pr{$pid}{end} - $pr{$pid}{start};
288 $elapsed /= $scale_factor;
290 $elapsed = sprintf("%0.02f", $elapsed);
292 $elapsed = int $elapsed;
300 if (defined $elapsed) {
301 print "$lead [$elapsed] @$argv\n"
    [all...]
  /frameworks/base/sax/tests/saxtests/src/android/sax/
ExpatPerformanceTest.java 78 long elapsed = System.currentTimeMillis() - start; local
79 Log.i(TAG, "expat SAX: " + elapsed + "ms");
87 long elapsed = System.currentTimeMillis() - start; local
88 Log.i(TAG, "expat pull: " + elapsed + "ms");
98 long elapsed = System.currentTimeMillis() - start; local
99 Log.i(TAG, "java pull parser: " + elapsed + "ms");
  /frameworks/rs/tests/latency/
latency.cpp 87 long long elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_usec); local
88 printf("elapsed time : %lld microseconds\n", elapsed);
89 printf("time per iter: %f microseconds\n", (double)elapsed / iters);
102 elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_usec);
103 printf("elapsed time with copy : %lld microseconds\n", elapsed);
104 printf("time per iter with copy: %f microseconds\n", (double)elapsed / iters);

Completed in 1009 milliseconds

1 2 3 4 5 6 7 8 91011>>