/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());
|
/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 | 43 base::TimeTicks elapsed; // Muck around with time a bit local 46 elapsed += task_runner->NextPendingTaskDelay(); 47 time_source->SetNow(elapsed); 61 elapsed += task_runner->NextPendingTaskDelay(); 63 EXPECT_GE(elapsed, time_source->Now()); 64 time_source->SetNow(elapsed); 83 base::TimeTicks elapsed; // Muck around with time a bit local 86 elapsed += task_runner->NextPendingTaskDelay(); 87 time_source->SetNow(elapsed); 96 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);
|
/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...] |
bbprof.cpp | 12 uint32_t elapsed; // number of cycles for basic block member in struct:MyStaticRec 34 // This function is called from quicksort to compare the elapsed time 41 if (bb1->elapsed < bb2->elapsed) 43 if (bb1->elapsed > bb2->elapsed) 88 blocks[ii].elapsed = 0; 96 uint32_t elapsed = 0; local 117 elapsed = sim_time - prev_time; 120 // Attribute the elapsed time to the previous instruction an 146 uint32_t elapsed = sorted[ii]->cycles[jj]; local [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/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;
|
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/ |
SDL_systimer.c | 99 struct timespec elapsed, tv; 102 Uint32 then, now, elapsed; 107 elapsed.tv_sec = ms/1000; 108 elapsed.tv_nsec = (ms%1000)*1000000; 116 tv.tv_sec = elapsed.tv_sec; 117 tv.tv_nsec = elapsed.tv_nsec; 118 was_error = nanosleep(&tv, &elapsed); 122 elapsed = (now-then); 124 if ( elapsed >= ms ) { 127 ms -= elapsed; [all...] |
/external/strace/ |
strace-graph | 10 # It will add elapsed time for each process in that case. 282 my $elapsed; 289 $elapsed = $pr{$pid}{end} - $pr{$pid}{start}; 290 $elapsed /= $scale_factor; 292 $elapsed = sprintf("%0.02f", $elapsed); 294 $elapsed = int $elapsed; 302 if (defined $elapsed) { 303 print "$lead [$elapsed] @$argv\n" [all...] |