/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...");
|
/frameworks/base/libs/utils/ |
StopWatch.cpp | 40 nsecs_t elapsed = elapsedTime(); local 42 LOGD("StopWatch %s (us): %lld ", mName, ns2us(elapsed)); 57 nsecs_t elapsed = elapsedTime(); local 59 elapsed = 0; 62 mLaps[n].soFar = elapsed; 63 mLaps[n].thisLap = n ? (elapsed - mLaps[n-1].soFar) : elapsed; 66 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/netperf/ |
netcpu.h | 16 extern float calc_cpu_util_internal(float elapsed);
|
/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...] |
/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;
|
/frameworks/base/libs/cpustats/ |
ThreadCpuUsage.cpp | 106 long long ThreadCpuUsage::elapsed() const function in class:ThreadCpuUsage 108 long long elapsed; local 115 elapsed = 0; 118 elapsed = (ts.tv_sec - mMonotonicTs.tv_sec) * 1000000000LL + 122 LOGW("Can't compute elapsed time because measurements have never been enabled"); 123 elapsed = 0; 125 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 LOGD("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/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;
|
/external/webkit/Source/WebCore/svg/animation/ |
SMILTimeContainer.cpp | 60 SMILTime SMILTimeContainer::elapsed() const { return 0; } function in class:WebCore::SMILTimeContainer 82 SMILTime SMILTimeContainer::elapsed() const function in class:WebCore::SMILTimeContainer 133 SMILTime delay = max(fireTime - elapsed(), minimumDelay); 141 SMILTime elapsed = this->elapsed(); local 142 updateAnimations(elapsed); 156 PriorityCompare(SMILTime elapsed) : m_elapsed(elapsed) {} 172 void SMILTimeContainer::sortByPriority(Vector<SVGSMILElement*>& smilElements, SMILTime elapsed) 176 std::sort(smilElements.begin(), smilElements.end(), PriorityCompare(elapsed)); [all...] |
/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.12/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...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
TraceTest.java | 49 long elapsed = end - start; local 50 Log.i(TAG, "elapsed millis: " + elapsed); 63 long elapsed = end - start; local 64 Log.i(TAG, "elapsed millis: " + elapsed); 78 long elapsed = end - start; local 79 Log.i(TAG, "elapsed millis: " + elapsed);
|
/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");
|
/external/chromium/third_party/libjingle/source/talk/base/ |
time.cc | 70 uint32 TimeAfter(int32 elapsed) { 71 ASSERT(elapsed >= 0); 72 ASSERT(static_cast<uint32>(elapsed) < HALF); 73 return Time() + elapsed;
|
/external/llvm/include/llvm/Support/ |
Process.h | 56 TimeValue& elapsed,
|
/external/qemu/distrib/sdl-1.2.12/src/timer/riscos/ |
SDL_systimer.c | 86 Uint32 now,then,elapsed; local 116 elapsed = (now-then); 118 if ( elapsed >= ms ) { 121 ms -= elapsed;
|
/external/quake/quake/src/WinQuake/ |
main.cpp | 75 nsecs_t elapsed = 0; local 81 elapsed = time - startTimes[startTimeStackPointer]; 85 LOGI("> %lld [%d] %lld %s\n", time, startTimeStackPointer, elapsed, buf); 87 fprintf(stderr, "Quake > %lld [%d] %lld %s\n", time, startTimeStackPointer, elapsed, buf);
|