/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...");
|
/dalvik/tests/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/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_base.cc | 26 int64 elapsed = (base::Time::Now() - start_time_).InMilliseconds(); local 29 "%s[%d] %s. (elapsed time: %sms)", 33 base::Int64ToString(elapsed).c_str()); 34 } else if (elapsed >= kSlowOperationThresholdMs) { 37 "PEFORMANCE WARNING: %s[%d] was slow. (elapsed time: %sms)", 40 base::Int64ToString(elapsed).c_str());
|
/external/chromium_org/third_party/icu/source/test/perf/ucnvavailperf/ |
ucnvavailperf.cpp | 117 double elapsed = utimer_getElapsedSeconds(&start_time); local 119 printf("ucnv_countAvailable() took %g seconds to figure this out.\n", elapsed);
|
/external/icu4c/test/perf/ucnvavailperf/ |
ucnvavailperf.cpp | 117 double elapsed = utimer_getElapsedSeconds(&start_time); local 119 printf("ucnv_countAvailable() took %g seconds to figure this out.\n", 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);
|
/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
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
timer.hpp | 33 // A timer object measures elapsed time. 37 // total elapsed time is more important than just process or CPU time. 39 // Warnings: The maximum measurable elapsed time may well be only 596.5+ hours 47 timer() { _start_time = std::clock(); } // postcondition: elapsed()==0 48 // timer( const timer& src ); // post: elapsed()==src.elapsed() 50 // timer& operator=( const timer& src ); // post: elapsed()==src.elapsed() 51 void restart() { _start_time = std::clock(); } // post: elapsed()==0 52 double elapsed() const // return elapsed time in second function in class:boost::timer [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");
|
/dalvik/tests/053-wait-some/src/ |
Main.java | 42 long elapsed = end - start; local 54 if (elapsed < min) { 55 System.out.println(" Elapsed time was too short"); 57 } else if (elapsed > max) { 58 System.out.println(" Elapsed time was too long: " 59 + "elapsed=" + elapsed + " max=" + max); 65 System.out.println(" Wall clock elapsed " 66 + elapsed + "ms");
|
/external/chromium_org/cc/scheduler/ |
frame_rate_controller_unittest.cc | 44 base::TimeTicks elapsed; // Muck around with time a bit local 47 elapsed += task_runner->NextPendingTaskDelay(); 48 time_source->SetNow(elapsed); 62 elapsed += task_runner->NextPendingTaskDelay(); 64 EXPECT_GE(elapsed, time_source->Now()); 65 time_source->SetNow(elapsed); 84 base::TimeTicks elapsed; // Muck around with time a bit local 87 elapsed += task_runner->NextPendingTaskDelay(); 88 time_source->SetNow(elapsed); 97 elapsed += task_runner->NextPendingTaskDelay() [all...] |
/external/chromium_org/third_party/ots/test/ |
perf.cc | 61 struct timeval start, end, elapsed; local 72 timersub(&end, &start, &elapsed); 75 = ((elapsed.tv_sec * 1000 * 1000) + elapsed.tv_usec) / num_repeat;
|
/external/skia/bench/ |
BenchSysTimer_mach.cpp | 67 uint64_t elapsed = end_wall - this->fStartWall; local 72 uint64_t elapsedNano = elapsed * sTimebaseInfo.numer
|
/external/srec/portable/src/ |
pcputimer.c | 37 asr_uint32_t elapsed; member in struct:PCPUTimer_t 55 tmp->elapsed = 0; 69 * Starts the timer. This sets the reference time from which all new elapsed 70 * time are computed. This does not reset the elapsed time to 0. This is 110 timer->elapsed = 119 * Returns the timer elapsed time. If the Timer is in the stopped state, 122 * elapsed time since the last time PCPUTimerStart() was called. 124 ESR_ReturnCode PCPUTimerGetElapsed(PCPUTimer *timer, asr_uint32_t *elapsed) 126 if (timer == NULL || elapsed == NULL) return ESR_INVALID_ARGUMENT; 138 *elapsed = timer->elapsed 169 asr_uint32_t elapsed; member in struct:PCPUTimer_t [all...] |
ptimer.c | 38 LARGE_INTEGER elapsed; member in struct:PTimer_t 64 tmp->elapsed.QuadPart = 0; 77 * Starts the timer. This sets the reference time from which all new elapsed 78 * time are computed. This does not reset the elapsed time to 0. This is 99 timer->elapsed.QuadPart += now.QuadPart - timer->RefTime.QuadPart; 106 * Returns the timer elapsed time. If the Timer is in the stopped state, 109 * elapsed time since the last time PTimerStart() was called. 111 ESR_ReturnCode PTimerGetElapsed(PTimer *timer, asr_uint32_t* elapsed) 113 if (timer == NULL || elapsed == NULL) 120 *elapsed = (asr_uint32_t) ((timer->elapsed.QuadPart + (now.QuadPart - timer->RefTime.QuadPart) 159 asr_uint32_t elapsed; member in struct:PTimer_t [all...] |
/external/stlport/test/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-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;
|
/system/core/libutils/ |
StopWatch.cpp | 44 nsecs_t elapsed = elapsedTime(); local 46 ALOGD("StopWatch %s (us): %" PRId64 " ", mName, ns2us(elapsed)); 61 nsecs_t elapsed = elapsedTime(); local 63 elapsed = 0; 66 mLaps[n].soFar = elapsed; 67 mLaps[n].thisLap = n ? (elapsed - mLaps[n-1].soFar) : elapsed; 70 return elapsed;
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_service.cc | 67 base::TimeDelta elapsed = base::Time::Now() - start_time; local 70 UMA_HISTOGRAM_LONG_TIMES("Startup.AppListFirstPaintColdStart", elapsed); 73 UMA_HISTOGRAM_LONG_TIMES("Startup.AppListFirstPaintWarmStart", elapsed); 77 elapsed); 111 base::TimeDelta elapsed = base::Time::Now() - start_time; 115 UMA_HISTOGRAM_LONG_TIMES("Startup.ShowAppListColdStart", elapsed); 118 UMA_HISTOGRAM_LONG_TIMES("Startup.ShowAppListWarmStart", elapsed); 121 UMA_HISTOGRAM_LONG_TIMES("Startup.ShowAppListWarmStartFast", elapsed);
|
/external/chromium_org/v8/src/platform/ |
elapsed-timer.h | 44 // |Elapsed()| or |HasExpired()|, and may be restarted using |Restart()|. 73 // Restarts the timer and returns the time elapsed since the previous start. 74 // This method is equivalent to obtaining the elapsed time with |Elapsed()| 81 TimeDelta elapsed = ticks - start_ticks_; local 82 ASSERT(elapsed.InMicroseconds() >= 0); 85 return elapsed; 88 // Returns the time elapsed since the previous start. This method may only 90 TimeDelta Elapsed() const { 92 TimeDelta elapsed = Now() - start_ticks_ local [all...] |
/external/eigen/bench/btl/generic_bench/timers/ |
portable_timer.hh | 68 double elapsed() { function in class:Portable_Timer 74 double user_time() { return elapsed(); } 125 double elapsed() function in class:Portable_Timer
|
/external/qemu/distrib/sdl-1.2.15/src/timer/riscos/ |
SDL_systimer.c | 86 Uint32 now,then,elapsed; local 116 elapsed = (now-then); 118 if ( elapsed >= ms ) { 121 ms -= elapsed;
|
/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);
|
/system/core/toolbox/ |
uptime.c | 78 int elapsed; local 99 elapsed = elapsedRealtime(); 100 if (elapsed < 0) { 105 format_time(elapsed, up_string); 107 format_time((int)(elapsed - up_time), sleep_string);
|