/external/chromium_org/base/debug/ |
trace_event_unittest.h | 10 // Sleep until HighResNow has advanced by at least |elapsed|. 11 void HighResSleepForTraceTest(base::TimeDelta elapsed);
|
/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/chrome/common/extensions/docs/server2/ |
timer.py | 24 '''Returns a new stopped Timer with this Timer's elapsed time + |other|'s. 35 '''Returns the elapsed time as a string in a pretty format; as a whole 40 elapsed = self._elapsed 41 if elapsed < 1: 42 elapsed = int(elapsed * 1000) 45 elapsed = int(elapsed) 46 unit = 'second' if elapsed == 1 else 'seconds' 47 return '%s %s' % (elapsed, unit [all...] |
/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/srec/portable/src/ |
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...] |
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...] |
/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/netperf/ |
netcpu.h | 16 extern float calc_cpu_util_internal(float elapsed);
|
/external/chromium_org/media/base/ |
scoped_histogram_timer.h | 25 base::TimeDelta elapsed = base::TimeTicks::Now() - constructed_; \ 26 UMA_HISTOGRAM_TIMES(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/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...] |
/sdk/emulator/qtools/ |
profile_trace.cpp | 14 uint64_t elapsed; // elapsed time for this function member in struct:symbol 24 // symbols into decreasing elapsed time. 31 elapsed1 = syma->elapsed; 32 elapsed2 = symb->elapsed; 64 dummy.elapsed = 0; 74 // Assign the elapsed time to the previous function symbol 75 uint64_t elapsed = 0; local 77 elapsed = first_ignored_event.time - prev_bb_time; 79 elapsed = event.time - prev_bb_time [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");
|
/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);
|
/external/stlport/test/eh/ |
bug.cpp | 26 std::cout << "vector fill: " << t.elapsed() << std::endl; 33 std::cout << "map fill 1: " << t.elapsed() << std::endl; 38 std::cout << "map fill 2: " << t.elapsed() << std::endl;
|
/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/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/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/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/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;
|