/external/netperf/src/ |
H A D | netcpu.h | 15 extern float calc_cpu_util_internal(float elapsed);
|
/external/vboot_reference/utility/ |
H A D | tpm-dad-lock | 42 elapsed=$(( $after - $before )) 43 if [ $elapsed -gt $max ]; then 44 echo delay of $elapsed seconds after $attempts attempts 45 max=$elapsed
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
H A D | StopwatchTest.java | 47 assertEquals(0, unstartedStopwatch.elapsed(NANOSECONDS)); 52 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 101 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 104 assertEquals(3, stopwatch.elapsed(NANOSECONDS)); 110 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 112 assertEquals(2, stopwatch.elapsed(NANOSECONDS)); 116 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 122 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 125 assertEquals(345, stopwatch.elapsed(NANOSECONDS)); 134 assertEquals(4, stopwatch.elapsed(NANOSECOND [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | StopwatchTest.java | 48 assertEquals(0, unstartedStopwatch.elapsed(NANOSECONDS)); 53 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 102 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 105 assertEquals(3, stopwatch.elapsed(NANOSECONDS)); 111 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 113 assertEquals(2, stopwatch.elapsed(NANOSECONDS)); 117 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 123 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); 126 assertEquals(345, stopwatch.elapsed(NANOSECONDS)); 135 assertEquals(4, stopwatch.elapsed(NANOSECOND [all...] |
/external/autotest/client/site_tests/video_WebRtcMediaRecorder/ |
H A D | mediarecorder_test_utils.js | 24 var elapsed = new Date() - startTime; 25 if (elapsed > 3000) {
|
/external/v8/src/base/platform/ |
H A D | elapsed-timer.h | 50 // Restarts the timer and returns the time elapsed since the previous start. 51 // This method is equivalent to obtaining the elapsed time with |Elapsed()| 58 TimeDelta elapsed = ticks - start_ticks_; local 59 DCHECK(elapsed.InMicroseconds() >= 0); 62 return elapsed; 65 // Returns the time elapsed since the previous start. This method may only 69 TimeDelta elapsed = Now() - start_ticks_; local 70 DCHECK(elapsed.InMicroseconds() >= 0); 71 return elapsed; 74 // Returns |true| if the specified |time_delta| has elapsed sinc [all...] |
/external/tpm2/ |
H A D | Clock.c | 65 // Get the time elapsed from current to the last time the _plat__ClockTimeElapsed() is called. For the first 66 // _plat__ClockTimeElapsed() call after a power on event, this call report the elapsed time from power on to 75 unsigned long long elapsed; local 77 elapsed = ((currentClock - s_initClock) * CLOCK_NOMINAL) / s_adjustRate; 78 s_initClock += (elapsed * s_adjustRate) / CLOCK_NOMINAL; 84 elapsed *= DEBUG_TIME_MULTIPLIER 86 return elapsed;
|
H A D | Time.c | 107 UINT64 elapsed; local 115 elapsed = _plat__ClockTimeElapsed(); 116 go.clock += elapsed; 117 g_time += elapsed;
|
/external/ImageMagick/MagickCore/ |
H A D | timer.c | 137 time_info->elapsed.total-=time_info->elapsed.stop- 138 time_info->elapsed.start; 188 % ElapsedTime() returns the elapsed time (in seconds) since the last call to 224 % GetElapsedTime() returns the elapsed time (in seconds) passed between the 245 return(time_info->elapsed.total); 347 time_info->elapsed.stop=0.0; 388 time_info->elapsed.total=0.0; 392 time_info->elapsed.start=ElapsedTime(); 425 time_info->elapsed [all...] |
H A D | timer.h | 44 elapsed; member in struct:_TimerInfo
|
/external/bison/lib/ |
H A D | timevar.c | 144 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/autotest/client/tools/ |
H A D | avgtime | 23 (user, system, elapsed, cpu) = line.split()[0:4] 26 m = re.match(r'(\d+):([\d\.]+)', elapsed) 27 elapsed = 60*int(m.group(1)) + float(m.group(2)) variable 30 list.append((user, system, elapsed, cpu)) 34 print "elapsed: %0.2fs (%0.2f%%)" % avg_deviation([x[2] for x in list])
|
/external/strace/ |
H A D | strace-graph | 10 # It will add elapsed time for each process in that case. 280 my $elapsed; 287 $elapsed = $pr{$pid}{end} - $pr{$pid}{start}; 288 $elapsed /= $scale_factor; 290 $elapsed = sprintf("%0.02f", $elapsed); 292 $elapsed = int $elapsed; 300 if (defined $elapsed) { 301 print "$lead [$elapsed] [all...] |
/external/fio/ |
H A D | time.c | 113 unsigned long elapsed; local 120 elapsed = utime_since_now(&tv); 122 if (elapsed > ns_granularity) 123 ns_granularity = elapsed;
|
/external/eigen/bench/btl/generic_bench/timers/ |
H A D | 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/replicaisland/src/com/replica/replicaisland/ |
H A D | FadeDrawableComponent.java | 85 float elapsed = currentTime - mStartTime; 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);
|
/external/v8/benchmarks/ |
H A D | base.js | 203 var elapsed = 0; 205 for (var n = 0; elapsed < 1000; n++) { 207 elapsed = new Date() - start; 211 data.elapsed += elapsed; 219 return { runs: 0, elapsed: 0 }; 224 var usec = (data.elapsed * 1000) / data.runs;
|
/external/webrtc/webrtc/base/ |
H A D | profiler.cc | 62 double elapsed = static_cast<double>(stop_time - current_start_time_) / local 64 total_time_ += elapsed; 66 minimum_ = maximum_ = elapsed; 68 minimum_ = std::min(minimum_, elapsed); 69 maximum_ = std::max(maximum_, elapsed); 74 double delta = elapsed - mean_; 76 sum_of_squared_differences_ += delta * (elapsed - mean_);
|
/external/chromium-trace/catapult/third_party/typ/typ/ |
H A D | stats.py | 44 elapsed = self._times[-1] - self._times[0] 45 if elapsed > 0: 46 out += '%5.1f' % ((len(self._times) - 1) / elapsed)
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
H A D | StopwatchBenchmark.java | 37 total += s.elapsed(TimeUnit.NANOSECONDS);
|
/external/libvncserver/examples/ |
H A D | camera.c | 59 double elapsed, dnow, dthen; local 65 elapsed = dnow - dthen; 67 if (elapsed > PICTURE_TIMEOUT) 69 return elapsed > PICTURE_TIMEOUT;
|
/external/blktrace/ |
H A D | blkparse_fmt.c | 163 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/curl/tests/libtest/ |
H A D | lib1501.c | 37 static int elapsed(struct timeval *before, function 108 e = elapsed(&before, &after);
|
/external/icu/icu4c/source/test/perf/ucnvavailperf/ |
H A D | ucnvavailperf.cpp | 117 double elapsed = utimer_getElapsedSeconds(&start_time); local 119 printf("ucnv_countAvailable() took %g seconds to figure this out.\n", elapsed);
|
/external/v8/test/js-perf-test/ |
H A D | base.js | 277 var elapsed = 0; 283 i<benchmark.deterministicIterations : elapsed < 1000); i++) { 285 elapsed = new Date() - start; 289 data.elapsed += elapsed; 295 data = { hectoruns: 0, elapsed: 0 }; 300 return { hectoruns: 0, elapsed: 0 }; 305 var usec = (data.elapsed * 10) / data.hectoruns;
|