/sdk/emulator/qtools/ |
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...] |
/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...] |
/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");
|
/frameworks/rs/tests/latency/ |
latency.cpp | 87 long long elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_usec); local 88 printf("elapsed time : %lld microseconds\n", elapsed); 89 printf("time per iter: %f microseconds\n", (double)elapsed / iters); 102 elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_usec); 103 printf("elapsed time with copy : %lld microseconds\n", elapsed); 104 printf("time per iter with copy: %f microseconds\n", (double)elapsed / iters);
|
/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/qemu/distrib/sdl-1.2.15/src/timer/riscos/ |
SDL_systimer.c | 86 Uint32 now,then,elapsed; local 116 elapsed = (now-then); 118 if ( elapsed >= ms ) { 121 ms -= elapsed;
|
/external/srec/portable/include/ |
pcputimer.h | 55 * Starts the timer. This sets the reference time from which all new elapsed 56 * time are computed. This does not reset the elapsed time to 0. This is 71 * Returns the timer elapsed time. If the Timer is in the stopped state, 73 * Timer is in the started state, successive calls will return the elapsed 76 * @return ESR_INVALID_ARGUMENT if timer or elapsed to is null; ESR_FATAL_ERROR if OS timer is available 79 asr_uint32_t* elapsed); 82 * Resets the elapsed time to 0 and resets the reference time of the Timer.
|
ptimer.h | 30 * API to facilitate computing elapsed time of operations. The units of time 54 * Starts the timer. This sets the reference time from which all new elapsed 55 * time are computed. This does not reset the elapsed time to 0. This is 66 * Returns the timer elapsed time. If the Timer is in the stopped state, 68 * Timer is in the started state, successive calls will return the elapsed 72 asr_uint32_t *elapsed); 75 * Resets the elapsed time to 0 and resets the reference time of the Timer.
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
timer.hpp | 33 // A timer object measures elapsed time. 37 // total elapsed time is more important than just process or CPU time. 39 // Warnings: The maximum measurable elapsed time may well be only 596.5+ hours 47 timer() { _start_time = std::clock(); } // postcondition: elapsed()==0 48 // timer( const timer& src ); // post: elapsed()==src.elapsed() 50 // timer& operator=( const timer& src ); // post: elapsed()==src.elapsed() 51 void restart() { _start_time = std::clock(); } // post: elapsed()==0 52 double elapsed() const // return elapsed time in second function in class:boost::timer [all...] |
/art/test/067-preemptive-unpark/src/ |
Main.java | 96 long elapsed = System.currentTimeMillis() - start; local 98 if (elapsed > 200) { 99 System.out.println("park()ed for " + elapsed + " msec");
|
/dalvik/tests/067-preemptive-unpark/src/ |
Main.java | 96 long elapsed = System.currentTimeMillis() - start; local 98 if (elapsed > 200) { 99 System.out.println("park()ed for " + elapsed + " msec");
|
/external/chromium_org/chrome/test/functional/ |
test_pyauto.py | 65 elapsed = time.time() - then 66 self.assertTrue(elapsed < new_timeout / 1000.0 + 2, # margin of 2 secs 68 'Automation timeout took %f secs' % elapsed)
|
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/ |
SMILTimeContainer.h | 54 SMILTime elapsed() const; 72 void updateAnimations(SMILTime elapsed, bool seekToTime = false); 75 void sortByPriority(Vector<SVGSMILElement*>& smilElements, SMILTime elapsed);
|
SMILTimeContainer.cpp | 107 SMILTime SMILTimeContainer::elapsed() const function in class:WebCore::SMILTimeContainer 217 SMILTime delay = max(fireTime - elapsed(), minimumDelay); 225 updateAnimations(elapsed()); 239 PriorityCompare(SMILTime elapsed) : m_elapsed(elapsed) {} 255 void SMILTimeContainer::sortByPriority(Vector<SVGSMILElement*>& smilElements, SMILTime elapsed) 259 std::sort(smilElements.begin(), smilElements.end(), PriorityCompare(elapsed)); 262 void SMILTimeContainer::updateAnimations(SMILTime elapsed, bool seekToTime) 281 sortByPriority(*scheduled, elapsed); 300 if (!animation->progress(elapsed, resultElement, seekToTime) && resultElement == animation [all...] |
SVGSMILElement.cpp | 550 beginListChanged(elapsed()); 552 endListChanged(elapsed()); 657 SMILTime SVGSMILElement::elapsed() const function in class:WebCore::SVGSMILElement 659 return m_timeContainer ? m_timeContainer->elapsed() : 0; 956 SMILTime elapsed = this->elapsed(); local 1258 SMILTime elapsed = this->elapsed(); local [all...] |
/external/eigen/bench/btl/generic_bench/timers/ |
portable_timer.hh | 68 double elapsed() { function in class:Portable_Timer 74 double user_time() { return elapsed(); } 125 double elapsed() function in class:Portable_Timer
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
profiler.cc | 78 double elapsed = static_cast<double>(stop_time - current_start_time_) / local 80 total_time_ += elapsed; 82 minimum_ = maximum_ = elapsed; 84 minimum_ = _min(minimum_, elapsed); 85 maximum_ = _max(maximum_, elapsed); 90 double delta = elapsed - mean_; 92 sum_of_squared_differences_ += delta * (elapsed - mean_);
|
/external/replicaisland/src/com/replica/replicaisland/ |
FadeDrawableComponent.java | 85 float elapsed = currentTime - mStartTime; local 87 if (mLoopType != LOOP_TYPE_NONE && elapsed > mDuration) { 89 elapsed = endTime - currentTime; 98 if (elapsed > mDuration) { 100 } else if (elapsed != 0.0f) { 102 opacity = Lerp.lerp(mInitialOpacity, mTargetOpacity, mDuration, elapsed); 104 opacity = Lerp.ease(mInitialOpacity, mTargetOpacity, mDuration, elapsed);
|
/frameworks/av/media/libcpustats/ |
ThreadCpuUsage.cpp | 128 long long ThreadCpuUsage::elapsed() const function in class:android::ThreadCpuUsage 130 long long elapsed; local 137 elapsed = 0; 140 elapsed = (ts.tv_sec - mMonotonicTs.tv_sec) * 1000000000LL + 144 ALOGW("Can't compute elapsed time because measurements have never been enabled"); 145 elapsed = 0; 147 ALOGV("elapsed %lld", elapsed); 148 return elapsed;
|
/external/chromium_org/third_party/skia/src/gpu/ |
FlingState.cpp | 114 double elapsed = (SkTime::GetMSecs() - fTime0) * 0.001; local 115 if (elapsed >= fDuration) { 120 double t = elapsed / fDuration;
|
/external/skia/src/gpu/ |
FlingState.cpp | 114 double elapsed = (SkTime::GetMSecs() - fTime0) * 0.001; local 115 if (elapsed >= fDuration) { 120 double t = elapsed / fDuration;
|
/external/chromium_org/media/base/ |
clock.cc | 54 base::TimeDelta Clock::Elapsed() { 62 base::TimeDelta elapsed = EstimatedElapsedTime(); 63 if (max_time_ != kNoTimestamp() && elapsed > max_time_) { 66 elapsed = max_time_; 69 return elapsed; 118 UpdateReferencePoints(Elapsed());
|
/external/llvm/utils/lit/lit/ |
Test.py | 60 self.elapsed = None 70 def setResult(self, result, output, elapsed): 74 self.elapsed = elapsed
|