Searched defs:elapsed (Results 1 - 25 of 32) sorted by relevance

12

/external/icu4c/test/perf/ucnvavailperf/
H A Ducnvavailperf.cpp117 double elapsed = utimer_getElapsedSeconds(&start_time); local
119 printf("ucnv_countAvailable() took %g seconds to figure this out.\n", elapsed);
/external/srec/portable/src/
H A Dpcputimer.c37 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) argument
126 if (timer == NULL || elapsed == NULL) return ESR_INVALID_ARGUMENT;
138 *elapsed
169 asr_uint32_t elapsed; member in struct:PCPUTimer_t
221 PCPUTimerGetElapsed(PCPUTimer *timer, asr_uint32_t *elapsed) argument
[all...]
H A Dptimer.c38 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) argument
113 if (timer == NULL || elapsed == NULL)
120 *elapsed
159 asr_uint32_t elapsed; member in struct:PTimer_t
232 PTimerGetElapsed(PTimer *timer, asr_uint32_t* elapsed) argument
[all...]
/external/stlport/test/unit/cppunit/
H A Dcppunit_timer.h77 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/riscos/
H A DSDL_systimer.c86 Uint32 now,then,elapsed; local
116 elapsed = (now-then);
118 if ( elapsed >= ms ) {
121 ms -= elapsed;
/external/quake/quake/src/WinQuake/
H A Dmain.cpp75 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);
/external/bluetooth/glib/glib/
H A Dgtimer.c119 guint64 elapsed; local
124 /* Get elapsed time and reset timer start time
126 * elapsed interval.
129 elapsed = timer->end - timer->start;
133 timer->start -= elapsed;
143 gint64 elapsed; local
150 elapsed = timer->end - timer->start;
152 total = elapsed / 1e9;
155 *microseconds = (elapsed / 1000) % 1000000;
/external/dbus/bus/
H A Dexpirelist.c131 double elapsed; local
136 elapsed = ELAPSED_MILLISECONDS_SINCE (item->added_tv_sec,
140 if (elapsed >= (double) list->expire_after)
159 next_interval = ((double)list->expire_after) - elapsed;
H A Dconnection.c725 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;
/external/netperf/
H A Dnetcpu_perfstat.c123 elapsed, local
203 elapsed = (float)sec + ((float)usec/(float)1000000.0);
227 fprintf(where,"\telapsed time = %g\n",elapsed);
248 (float)(secondcnt[j] - firstcnt[j])/elapsed :
249 (float)(secondcnt[j]-firstcnt[j]+MAXLONG)/elapsed;
279 /* tests tell up what the elapsed time should be. */
H A Dnetcpu_pstat.c106 elapsed, local
169 elapsed = (float)sec + ((float)usec/(float)1000000.0);
174 fprintf(where,"\telapsed time = %g\n",elapsed);
199 (float)(secondcnt[j] - firstcnt[j] )/elapsed :
200 (float)(secondcnt[j] - firstcnt[j] + LONG_LONG_MAX)/elapsed;
236 /* tests tell up what the elapsed time should be. */
H A Dnetcpu_kstat.c257 elapsed, local
302 elapsed = (float)sec + ((float)usec/(float)1000000.0);
307 fprintf(where,"\telapsed time = %g\n",elapsed);
327 (float)(secondcnt[j] - firstcnt[j])/elapsed :
328 (float)(secondcnt[j]-firstcnt[j]+MAXLONG)/elapsed;
356 /* tests tell up what the elapsed time should be. */
H A Dnetcpu_looper.c493 elapsed,
531 elapsed = (float)sec + ((float)usec/(float)1000000.0);
536 fprintf(where,"\telapsed time = %g\n",elapsed);
556 (float)(secondcnt[j] - firstcnt[j])/elapsed :
557 (float)(secondcnt[j]-firstcnt[j]+MAXLONG)/elapsed;
597 /* tests tell up what the elapsed time should be. */
492 elapsed, local
/external/webkit/WebKit/android/jni/
H A DPictureSet.h59 uint32_t elapsed, bool split)
61 add(area, picture, elapsed, split, emptyPicture(picture));
64 uint32_t elapsed, bool split, bool empty);
58 add(const SkRegion& area, SkPicture* picture, uint32_t elapsed, bool split) argument
H A DPictureSet.cpp77 uint32_t elapsed, bool split, bool empty)
79 DBG_SET_LOGD("%p area={%d,%d,r=%d,b=%d} pict=%p elapsed=%d split=%d", this,
82 elapsed, split);
90 elapsed, split, false, diff.isEmpty() == false, empty};
275 size_t elapsed = working->mElapsed = getThreadMsec() - startTime; local
277 if (maxElapsed < elapsed && (pathBounds.width() >= MIN_SPLITTABLE ||
279 maxElapsed = elapsed;
298 DBG_SET_LOGD("[%d] %p working->mArea={%d,%d,%d,%d} elapsed=%d base=%s",
552 uint32_t elapsed = working->mElapsed; local
553 if (elapsed < MAX_DRAW_TIM
76 add(const SkRegion& area, SkPicture* picture, uint32_t elapsed, bool split, bool empty) argument
596 working->mPicture, elapsed, true, local
[all...]
/external/bison/lib/
H A Dtimevar.c144 struct timevar_time_def elapsed; member in struct:timevar_def
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);
352 /* Attribute the elapsed time to the element we're popping. */
353 timevar_accumulate (&popped->timevar->elapsed, &start_time, &now);
393 /* Stop timing TIMEVAR. Time elapsed sinc
[all...]
/external/blktrace/
H A Dblkparse_fmt.c163 struct blk_io_trace *t, unsigned long long elapsed,
238 if (elapsed == -1ULL) {
239 fprintf(stderr, "Expecting elapsed value\n");
242 fprintf(ofp, strcat(format, "llu"), elapsed / 1000);
257 struct blk_io_trace *t, unsigned long long elapsed,
277 print_field(act, pci, t, elapsed, pdu_len, pdu_buf, *p++,
284 struct blk_io_trace *t, unsigned long long elapsed,
321 if (elapsed != -1ULL) {
325 t_sec(t), elapsed, t->error);
329 elapsed,
162 print_field(char *act, struct per_cpu_info *pci, struct blk_io_trace *t, unsigned long long elapsed, int pdu_len, unsigned char *pdu_buf, char field, int minus, int has_w, int width) argument
256 parse_field(char *act, struct per_cpu_info *pci, struct blk_io_trace *t, unsigned long long elapsed, int pdu_len, unsigned char *pdu_buf, char *master_format) argument
283 process_default(char *act, struct per_cpu_info *pci, struct blk_io_trace *t, unsigned long long elapsed, int pdu_len, unsigned char *pdu_buf) argument
418 process_fmt(char *act, struct per_cpu_info *pci, struct blk_io_trace *t, unsigned long long elapsed, int pdu_len, unsigned char *pdu_buf) argument
[all...]
/external/dropbear/
H A Dprogressmeter.c114 double elapsed; local
128 elapsed = now - last_update;
130 elapsed = now - start;
137 if (elapsed != 0)
138 cur_speed = (transferred / elapsed);
183 stalled += elapsed;
195 seconds = elapsed;
/external/webkit/JavaScriptCore/wtf/
H A DCurrentTime.cpp243 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
/external/webkit/WebCore/page/
H A DConsole.cpp402 double elapsed; local
403 if (!page->inspectorController()->stopTiming(title, elapsed))
406 String message = title + String::format(": %.0fms", elapsed);
/external/webkit/WebCore/svg/animation/
H A DSMILTimeContainer.cpp60 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) {} argument
172 void SMILTimeContainer::sortByPriority(Vector<SVGSMILElement*>& smilElements, SMILTime elapsed) argument
176 std::sort(smilElements.begin(), smilElements.end(), PriorityCompare(elapsed));
225 updateAnimations(SMILTime elapsed) argument
[all...]
H A DSVGSMILElement.cpp467 SMILTime SVGSMILElement::elapsed() const function in class:WebCore::SVGSMILElement
469 return m_timeContainer ? m_timeContainer->elapsed() : 0;
711 SMILTime elapsed = this->elapsed(); local
714 else if (elapsed < m_intervalBegin) {
715 SMILTime newBegin = findInstanceTime(Begin, elapsed, false);
719 m_intervalBegin = elapsed;
726 m_nextProgressTime = elapsed;
732 SMILTime elapsed = this->elapsed(); local
749 checkRestart(SMILTime elapsed) argument
771 calculateAnimationPercentAndRepeat(SMILTime elapsed, unsigned& repeat) const argument
834 progress(SMILTime elapsed, SVGSMILElement* resultElement) argument
[all...]
/external/webkit/WebKit/android/
H A DTimeCounter.cpp117 uint32_t elapsed = time - sStartTime[type]; local
118 sTotalTimeUsed[type] += elapsed;
119 if (elapsed > 1000)
120 LOGW("***** %s() used %d ms\n", functionName, elapsed);
/external/webkit/WebKit/qt/Api/
H A Dqwebview.cpp911 int elapsed = time.elapsed(); local
912 qDebug() << "paint event on " << ev->region() << ", took to render = " << elapsed;
/external/bluetooth/glib/tests/
H A Dtestglib.c568 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
[all...]

Completed in 255 milliseconds

12