/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/ |
kvm-recheck-rcu.sh | 42 dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` 43 if test -z "$dur" 47 ngpsps=`awk -v ngps=$ngps -v dur=$dur ' 48 BEGIN { print ngps / dur }' < /dev/null` 62 nclosecalls10=`awk -v nclosecalls=$nclosecalls -v dur=$dur 'BEGIN { print int(nclosecalls * 36000 / dur) }' < /dev/null` 65 print_bug $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i 67 print_warning $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $ [all...] |
kvm-recheck-lock.sh | 41 dur=`sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` 42 if test -z "$dur" 46 ncsps=`awk -v ncs=$ncs -v dur=$dur ' 47 BEGIN { print ncs / dur }' < /dev/null`
|
kvm.sh | 37 dur=$((30*60)) 123 dur=$(($2*60)) 318 -v dur=$dur \ 358 print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" TORTURE_QEMU_ARG "\" \"" TORTURE_BOOTARGS "\" > " rd cfr[jn] "/kvm-test-1-run.sh.out 2>&1 &" 399 print "\tjitter.sh " j " " dur " " ja[2] " " ja[3] "&"
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipConnectionBase.java | 103 long dur; local 105 dur = 0; 107 dur = SystemClock.elapsedRealtime() - mConnectTimeReal; 109 dur = mDuration; 111 if (VDBG) log("getDurationMillis: ret=" + dur); 112 return dur; 117 long dur; local 120 dur = 0; 122 dur = SystemClock.elapsedRealtime() - mHoldingStartTime; 124 if (VDBG) log("getHoldDurationMillis: ret=" + dur); [all...] |
/external/skia/include/core/ |
SkTime.h | 52 uint64_t dur = static_cast<uint64_t>(SkTime::GetMSecs() - fNow); local 53 SkDebugf("%s %ld\n", fLabel ? fLabel : "", dur);
|
/external/skqp/include/core/ |
SkTime.h | 52 uint64_t dur = static_cast<uint64_t>(SkTime::GetMSecs() - fNow); local 53 SkDebugf("%s %ld\n", fLabel ? fLabel : "", dur);
|
/external/fio/ |
steadystate.c | 11 td->ss.bw_data = calloc(td->ss.dur, sizeof(uint64_t)); 12 td->ss.iops_data = calloc(td->ss.dur, sizeof(uint64_t)); 33 if (!td->ss.dur) 71 if (ss->state & __FIO_SS_BUFFER_FULL || ss->tail - ss->head == ss->dur - 1) { 74 for(i = 0, ss->sum_y = 0; i < ss->dur; i++) { 79 j = (ss->head + i) % ss->dur; 89 ss->sum_xy = ss->sum_xy - ss->sum_y + ss->dur * new_val; 103 ss->slope = (ss->sum_xy - (double) ss->sum_x * ss->sum_y / ss->dur) / 104 (ss->sum_x_sq - (double) ss->sum_x * ss->sum_x / ss->dur); 106 ss->criterion = 100.0 * ss->slope / (ss->sum_y / ss->dur); [all...] |
steadystate.h | 18 unsigned long long dur; member in struct:steadystate_data
|
/frameworks/base/core/jni/android/graphics/ |
MovieImpl.cpp | 54 SkMSec dur = this->duration(); local 55 if (time > dur) 56 time = dur;
|
GIFMovie.cpp | 90 SkMSec dur = 0; 92 dur += savedimage_duration(&fGIF->SavedImages[i]); 94 info->fDuration = dur; 106 SkMSec dur = 0; 109 dur += savedimage_duration(&fGIF->SavedImages[i]); 110 if (dur >= time)
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
dtmf_buffer.h | 37 DtmfEvent(uint32_t ts, int ev, int vol, int dur, bool end) 41 duration(dur),
|
/external/python/cpython2/PC/ |
winsound.c | 107 int dur; local 110 if (!PyArg_ParseTuple(args, "ii:Beep", &freq, &dur)) 120 ok = Beep(freq, dur);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapDecode.java | 132 int dur = mMovie.duration(); local 133 if (dur == 0) { 134 dur = 1000; 136 int relTime = (int)((now - mMovieStart) % dur);
|
/external/libopus/tests/ |
test_opus_decode.c | 107 opus_int32 dur; local 111 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); 112 if(dur!=120/factor)test_failed(); 127 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); 128 if(dur!=120/factor)test_failed(); 170 opus_int32 dur; local 190 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); 191 if(dur!=out_samples)test_failed(); 205 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); 206 if(dur!=out_samples)test_failed() 324 opus_int32 dur; local [all...] |
/external/libcxx/src/experimental/filesystem/ |
filesystem_time_helper.h | 132 auto Dur = seconds(tm.tv_sec) + microseconds(adj_msec); 133 return FileTimeT(Dur); 140 auto Dur = seconds(tm.tv_sec + 1) - adj_subsec; 141 return FileTimeT(Dur); 149 auto dur = tp.time_since_epoch(); 150 auto sec_dur = duration_cast<seconds>(dur); 151 auto subsec_dur = duration_cast<SubSecDurT>(dur - sec_dur);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/experimental/filesystem/ |
filesystem_time_helper.h | 132 auto Dur = seconds(tm.tv_sec) + microseconds(adj_msec); 133 return FileTimeT(Dur); 140 auto Dur = seconds(tm.tv_sec + 1) - adj_subsec; 141 return FileTimeT(Dur); 149 auto dur = tp.time_since_epoch(); 150 auto sec_dur = duration_cast<seconds>(dur); 151 auto subsec_dur = duration_cast<SubSecDurT>(dur - sec_dur);
|
/external/tensorflow/tensorflow/contrib/tpu/profiler/ |
trace_events_to_json_test.cc | 95 "dur" : 0.01
|
/external/golang-protobuf/ptypes/ |
duration_test.go | 52 dur time.Duration 106 if err == nil && got != test.dur { 107 t.Errorf("Duration(%v) = %v, want %v", test.proto, got, test.dur) 115 got := DurationProto(test.dur) 117 t.Errorf("DurationProto(%v) = %v, want %v", test.dur, got, test.proto)
|
/external/tensorflow/tensorflow/core/platform/default/ |
mutex.h | 149 std::chrono::duration<Rep, Period> dur) { 151 &cv_, &lock.mutex()->mu_, std::chrono::system_clock::now() + dur,
|
/external/skia/src/views/ |
SkTouchGesture.cpp | 282 float dur = rec.fLastT - rec.fPrevT; local 283 if (dur > 0) { 284 fFlinger.reset(dx / dur, dy / dur);
|
/external/skqp/src/views/ |
SkTouchGesture.cpp | 282 float dur = rec.fLastT - rec.fPrevT; local 283 if (dur > 0) { 284 fFlinger.reset(dx / dur, dy / dur);
|
/external/fio/unit_tests/ |
steadystate_tests.py | 43 def check(data, iops, slope, pct, limit, dur, criterion): 177 dur=job['ss_dur'], variable 199 dur=job['ss_dur'], variable
|
/external/libxml2/ |
xmlschemastypes.c | 127 xmlSchemaValDuration dur; member in union:_xmlSchemaVal::__anon26844 1791 xmlSchemaValPtr dur; local 3923 xmlSchemaValPtr dur, ret; local [all...] |
/frameworks/base/core/java/android/view/animation/ |
Animation.java | 465 long dur = mDuration + mStartOffset; local 466 if (dur > durationMillis) { 468 dur = durationMillis; 480 || (dur*mRepeatCount) > durationMillis) { 483 mRepeatCount = (int)(durationMillis/dur) - 1; [all...] |
/prebuilts/go/darwin-x86/src/runtime/pprof/ |
pprof_test.go | 29 func cpuHogger(f func(x int) int, y *int, dur time.Duration) { 37 for i := 0; i < 500 || time.Since(t0) < dur; i++ { 76 testCPUProfile(t, []string{"runtime/pprof.cpuHog1"}, func(dur time.Duration) { 77 cpuHogger(cpuHog1, &salt1, dur) 83 testCPUProfile(t, []string{"runtime/pprof.cpuHog1", "runtime/pprof.cpuHog2"}, func(dur time.Duration) { 86 cpuHogger(cpuHog1, &salt1, dur) 89 cpuHogger(cpuHog2, &salt2, dur) 95 testCPUProfile(t, []string{"runtime/pprof.inlinedCallee", "runtime/pprof.inlinedCaller"}, func(dur time.Duration) { 96 cpuHogger(inlinedCaller, &salt1, dur) 133 func testCPUProfile(t *testing.T, need []string, f func(dur time.Duration)) [all...] |