/external/chromium/base/ |
time_win.cc | 112 // the number of ticks that have elapsed, and compute the delta. 119 // Calculate the time elapsed since we started our timer 120 TimeDelta elapsed = ticks - initial_ticks; local 122 // Check if enough time has elapsed that we need to resync the clock. 123 if (elapsed.InMilliseconds() > kMaxMillisecondsToAvoidDrift) { 128 return Time(elapsed + Time(initial_time));
|
/external/webkit/JavaScriptCore/wtf/ |
CurrentTime.cpp | 243 DWORD elapsed = tickCountNow - lastTickCount; local 244 double timeNow = lastTime + (double)elapsed / 1000.; 245 if (elapsed >= 0x7FFFFFFF) { 285 // and GETTIMEMS returns the number of milliseconds that have elapsed since the last
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
LunarView.java | 181 /** Used to figure out elapsed time between frames */ 685 double elapsed = (now - mLastTime) / 1000.0; local 689 mHeading += mRotating * (PHYS_SLEW_SEC * elapsed); 699 double ddy = -PHYS_DOWN_ACCEL_SEC * elapsed; 704 double elapsedFiring = elapsed; 708 // elapsed 710 elapsedFiring = mFuel / fuelUsed * elapsed; 735 mX += elapsed * (mDX + dxOld) / 2; 736 mY += elapsed * (mDY + dyOld) / 2; [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
RecurrenceProcessorTest.java | 2437 long elapsed = endTime - startTime; local 2461 long elapsed = endTime - startTime; local [all...] |
/external/netperf/ |
netlib.h | 472 extern void cpu_stop(int measure_cpu, float *elapsed); 501 extern double calc_thruput_interval(double units_received,double elapsed); 503 extern double calc_thruput_interval_omni(double units_received,double elapsed);
|
netlib.c | [all...] |
/external/webkit/WebCore/page/ |
Console.cpp | 402 double elapsed; local 403 if (!page->inspectorController()->stopTiming(title, elapsed)) 406 String message = title + String::format(": %.0fms", elapsed);
|
/frameworks/base/cmds/dumpstate/ |
utils.c | 177 float elapsed = (float) (clock() - start) / CLOCKS_PER_SEC; local 184 if (title) printf("[%s: %.1fs elapsed]\n\n", command, elapsed); 188 if (timeout_seconds && elapsed > timeout_seconds) { 189 printf("*** %s: Timed out after %.1fs (killing pid %d)\n", command, elapsed, pid);
|
/external/bluetooth/glib/tests/ |
testglib.c | 568 gdouble elapsed; local 573 elapsed = g_timer_elapsed (timer, NULL); 575 g_assert_cmpfloat (elapsed, <=, g_timer_elapsed (timer, NULL)); 629 elapsed = g_timer_elapsed (timer, &elapsed_usecs); 631 g_print ("\t=> timer = %.6f = %d.%06ld (should be: 9.000000) (%.6f off)\n", elapsed, (int) elapsed, elapsed_usecs, ABS (elapsed - 9.)); 632 g_assert_cmpfloat (elapsed, >, 8.8); 633 g_assert_cmpfloat (elapsed, <, 9.2); 637 elapsed = g_timer_elapsed (timer2, &elapsed_usecs) [all...] |
/external/v8/benchmarks/ |
base.js | 202 var elapsed = 0; 204 for (var n = 0; elapsed < 1000; n++) { 206 elapsed = new Date() - start; 208 var usec = (elapsed * 1000) / n;
|
/frameworks/base/tests/CoreTests/android/core/ |
SSLPerformanceTest.java | 333 long elapsed = (System.nanoTime() - start) / 1000; local 335 System.err.println(getName() + ": " + elapsed + "us, "
|
/external/blktrace/ |
blkparse.c | 1038 unsigned long long elapsed; local 1050 elapsed = iot->queue_time - iot->allocation_time; 1056 if (ppi && elapsed > ppi->longest_allocation_wait[w]) 1057 ppi->longest_allocation_wait[w] = elapsed; 1060 return elapsed; 1069 unsigned long long elapsed; local 1087 elapsed = iot->dispatch_time - iot->queue_time; 1093 if (ppi && elapsed > ppi->longest_dispatch_wait[w]) 1094 ppi->longest_dispatch_wait[w] = elapsed; 1097 return elapsed; 1106 unsigned long long elapsed; local [all...] |
/dalvik/vm/ |
Profile.c | 497 u8 elapsed; local 514 /* compute elapsed time */ 515 elapsed = getTimeInUsec() - state->startWhen; 614 fprintf(state->traceFile, "elapsed-time-usec=%llu\n", elapsed);
|
/external/webkit/WebCore/svg/ |
SVGAnimationElement.cpp | 158 return narrowPrecisionToFloat(elapsed().value()); 173 addBeginTime(elapsed() + offset); 183 addEndTime(elapsed() + offset);
|
SVGSVGElement.cpp | 517 return narrowPrecisionToFloat(m_timeContainer->elapsed().value());
|
/external/webkit/WebKit/qt/Api/ |
qwebview.cpp | 911 int elapsed = time.elapsed(); local 912 qDebug() << "paint event on " << ev->region() << ", took to render = " << elapsed;
|
/bootable/recovery/ |
ui.c | 227 int elapsed = time(NULL) - gProgressScopeTime; local 228 float progress = 1.0 * elapsed / duration;
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
MenuBar.java | 305 long elapsed = event.getEventTime() - event.getDownTime(); local 314 } else if (elapsed > LONG_PRESS_THRESHOLD_MS) {
|
/external/chromium/sdch/open-vcdiff/src/gtest/src/ |
gtest-internal-inl.h | 489 // Returns the elapsed time, in milliseconds. 492 // Sets the elapsed time. 493 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; } 529 // The elapsed time, in milliseconds. 664 // Returns the elapsed time, in milliseconds. 722 // Elapsed time, in milliseconds. 884 // Gets the elapsed time, in milliseconds. [all...] |
/external/gtest/src/ |
gtest-internal-inl.h | 551 // Returns the elapsed time, in milliseconds. 554 // Sets the elapsed time. 555 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; } 591 // The elapsed time, in milliseconds. 739 // Returns the elapsed time, in milliseconds. 799 // Elapsed time, in milliseconds. [all...] |
/external/webkit/WebCore/inspector/ |
InspectorController.h | 216 bool stopTiming(const String& title, double& elapsed);
|
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
dhd.h | 304 uint32 elapsed; /* Current elapsed time (usec) */ member in struct:__anon9559
|
/dalvik/tools/dmtracedump/ |
TraceDump.c | 371 * methods into decreasing order of exclusive elapsed time. 386 /* If the elapsed times of two methods are equal, then sort them 409 * methods into decreasing order of inclusive elapsed time. 425 /* If the elapsed times of two methods are equal, then sort them 448 * threads into decreasing order of elapsed time. 464 /* If the elapsed times of two threads are equal, then sort them 479 * TimedMethods into decreasing order of inclusive elapsed time. 495 /* If the elapsed times of two methods are equal, then sort them 542 * classes into decreasing order of exclusive elapsed time. 557 /* If the elapsed times of two classs are equal, then sort the 3085 uint64_t elapsed = currentTime - entryTime; local 3146 uint64_t elapsed = pStack->lastEventTime - entryTime; local [all...] |
/external/dbus/bus/ |
connection.c | 725 double elapsed; local 733 elapsed = ELAPSED_MILLISECONDS_SINCE (d->connection_tv_sec, 737 if (elapsed >= (double) auth_timeout) 745 next_interval = ((double)auth_timeout) - elapsed; [all...] |
/external/protobuf/gtest/include/gtest/ |
gtest.h | 115 // This flags control whether Google Test prints the elapsed time for each 437 // Returns the elapsed time, in milliseconds. 470 // Sets the elapsed time. 471 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; } 510 // The elapsed time, in milliseconds. 659 // Returns the elapsed time, in milliseconds. 735 // Elapsed time, in milliseconds. [all...] |