/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/numeric.ops/numeric.ops.midpoint/ |
D | midpoint.float.pass.cpp | 54 constexpr T pct = fp_error_pct<T>(); in fp_test() local 55 assert((fptest_close_pct(std::midpoint(T( 1.3), T(11.4)), T( 6.35), pct))); in fp_test() 56 assert((fptest_close_pct(std::midpoint(T(11.33), T(31.45)), T(21.39), pct))); in fp_test() 57 assert((fptest_close_pct(std::midpoint(T(-1.3), T(11.4)), T( 5.05), pct))); in fp_test() 58 assert((fptest_close_pct(std::midpoint(T(11.4), T(-1.3)), T( 5.05), pct))); in fp_test() 59 assert((fptest_close_pct(std::midpoint(T(0.1), T(0.4)), T(0.25), pct))); in fp_test() 61 assert((fptest_close_pct(std::midpoint(T(11.2345), T(14.5432)), T(12.88885), pct))); in fp_test() 66 … T(2.92993724102441923691146542731608269097720824653752), pct))); in fp_test() 68 assert((fptest_close_pct(std::midpoint(maxV, T(0)), maxV/2, pct))); in fp_test() 69 assert((fptest_close_pct(std::midpoint(T(0), maxV), maxV/2, pct))); in fp_test() [all …]
|
/external/libaom/test/ |
D | best_encode.sh | 37 --minsection-pct=0 \ 38 --maxsection-pct=800 \ 46 --bias-pct=50 \ 47 --minsection-pct=0 \ 48 --maxsection-pct=800 \ 65 --minsection-pct=0 \ 66 --maxsection-pct=800 \ 86 --minsection-pct=0 \ 87 --maxsection-pct=800 \ 95 --bias-pct=50 \ [all …]
|
/external/grpc-grpc/tools/profiling/microbenchmarks/bm_diff/ |
D | bm_speedup.py | 38 pct = 1 39 while pct < 100: 40 sp, pp = cmp(new, scale(old, 1 - pct / 100.0)) 43 pct += 1 44 return -(pct - 1) 46 pct = 1 47 while pct < 10000: 48 sp, pp = cmp(new, scale(old, 1 + pct / 100.0)) 51 pct += 1 52 return pct - 1
|
/external/rust/crates/grpcio-sys/grpc/tools/profiling/microbenchmarks/bm_diff/ |
D | bm_speedup.py | 43 pct = 1 44 while pct < 100: 45 sp, pp = cmp(new, scale(old, 1 - pct / 100.0)) 50 pct += 1 51 return -(pct - 1) 53 pct = 1 54 while pct < 10000: 55 sp, pp = cmp(new, scale(old, 1 + pct / 100.0)) 60 pct += 1 61 return pct - 1
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | sch_red.sh | 229 local pct=$((100 * nmarked_d / npackets_d)) 231 echo $pct 232 ((pct $cond)) 247 local pct=$((100 * nmirrored_d / npackets_d)) 249 echo $pct 250 ((pct $cond)) 258 local pct 267 pct=$(check_marking "== 0") 268 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 277 pct=$(check_marking ">= 95") [all …]
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sched_prio_3_rr.c | 70 int i, pct, rv; in parse_results() local 110 pct = (a_exec_us * 100) / total; in parse_results() 111 rv |= (pct < EXEC_MIN_PCT || pct > EXEC_MAX_PCT); in parse_results() 112 printf("a exec time: %ld usec (%d%%)\n", a_exec_us, pct); in parse_results() 113 pct = (b_exec_us * 100) / total; in parse_results() 114 rv |= (pct < EXEC_MIN_PCT || pct > EXEC_MAX_PCT); in parse_results() 115 printf("b exec time: %ld usec (%d%%)\n", b_exec_us, pct); in parse_results() 116 pct = (c_exec_us * 100) / total; in parse_results() 117 rv |= (pct < EXEC_MIN_PCT || pct > EXEC_MAX_PCT); in parse_results() 118 printf("c exec time: %ld usec (%d%%)\n", c_exec_us, pct); in parse_results()
|
D | eas_small_to_big.c | 47 int i, pct, rv = 0; in parse_results() local 115 pct = (too_big_cpu_us * 100) / small_task_us; in parse_results() 116 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 119 pct); in parse_results() 120 pct = (too_small_cpu_us * 100) / big_task_us; in parse_results() 121 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 125 pct); in parse_results()
|
D | eas_big_to_small.c | 46 int i, pct, rv = 0; in parse_results() local 120 pct = (too_small_cpu_us * 100) / big_task_us; in parse_results() 121 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 124 pct); in parse_results() 125 pct = (too_big_cpu_us * 100) / small_task_us; in parse_results() 126 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 129 too_big_cpu_us, pct); in parse_results()
|
D | eas_two_big_three_small.c | 42 int i, j, pct, rv = 0; in parse_results() local 90 pct = (incorrect_us[i] * 100) / total_us[i]; in parse_results() 91 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 94 incorrect_us[i], pct); in parse_results() 97 pct = (incorrect_us[i] * 100) / total_us[i]; in parse_results() 98 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 101 incorrect_us[i], pct); in parse_results()
|
D | eas_small_big_toggle.c | 51 int i, pct, rv = 0; in parse_results() local 166 pct = (too_big_cpu_us * 100) / small_task_us; in parse_results() 167 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 171 pct); in parse_results() 172 pct = (too_small_cpu_us * 100) / big_task_us; in parse_results() 173 rv |= (pct > MAX_INCORRECT_CLUSTER_PCT); in parse_results() 177 pct); in parse_results()
|
D | eas_one_small_task.c | 40 int i, pct; in parse_results() local 81 pct = (correct_us * 100) / total_us; in parse_results() 84 total_us, correct_us, pct); in parse_results() 86 return (pct < MIN_CORRECT_CLUSTER_PCT); in parse_results()
|
D | eas_one_big_task.c | 42 int i, pct; in parse_results() local 87 pct = (correct_us * 100) / total_us; in parse_results() 90 total_us, correct_us, pct); in parse_results() 100 return (pct < MIN_CORRECT_CLUSTER_PCT || in parse_results()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_op.cc | 34 double pct = 0.0; in FormatToalExecTime() local 38 pct = in FormatToalExecTime() 45 FormatTime(node->proto().exec_micros()), accu_pct, pct)); in FormatToalExecTime() 49 double pct = 0.0; in FormatCPUExecTime() local 53 pct = 100.0 * node->proto().cpu_exec_micros() / in FormatCPUExecTime() 60 accu_pct, pct)); in FormatCPUExecTime() 65 double pct = 0.0; in FormatAcceleratorExecTime() local 69 pct = 100.0 * node->proto().accelerator_exec_micros() / in FormatAcceleratorExecTime() 77 accu_pct, pct)); in FormatAcceleratorExecTime() 213 double pct = 0.0; in FormatMemoryNode() local [all …]
|
/external/grpc-grpc/test/cpp/qps/ |
D | qps_interarrival_test.cc | 45 for (double pct = 0.0; pct < 100.0; pct += 1.0) { in RunTest() local 46 std::cout << grpc_histogram_percentile(h, pct) << "," << pct << std::endl; in RunTest()
|
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/ |
D | sch_red_core.sh | 408 local pct=$((100 * nmarked_d / npackets_d)) 410 echo $pct 411 ((pct $cond)) 421 local pct 430 pct=$(check_marking "$get_nmarked" $vlan "== 0") 431 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 440 pct=$(check_marking "$get_nmarked" $vlan ">= 95") 441 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95." 516 local pct 527 pct=$(check_marking get_nmarked $vlan "== 0") [all …]
|
D | tc_sample.sh | 228 local pkts pct 244 pct=$((100 * (pkts - 10000) / 10000)) 245 (( -25 <= pct && pct <= 25)) 246 …check_err $? "Expected 10000 packets, got $pkts packets, which is $pct% off. Required accuracy is … 476 local backlog pct occ 510 pct=$((100 * (occ - backlog) / backlog)) 511 (( -1 <= pct && pct <= 1)) 512 …gestion of $backlog bytes, but sampled congestion is $occ bytes, which is $pct% off. Required accu… 578 local pkts pct 597 pct=$((100 * (pkts - 10000) / 10000)) [all …]
|
/external/linux-kselftest/tools/testing/selftests/ptp/ |
D | testptp.c | 157 struct ptp_clock_time *pct; in main() local 487 pct = &sysoff->ts[0]; in main() 489 t1 = pctns(pct+2*i); in main() 490 tp = pctns(pct+2*i+1); in main() 491 t2 = pctns(pct+2*i+2); in main() 496 (pct+2*i)->sec, (pct+2*i)->nsec); in main() 498 (pct+2*i+1)->sec, (pct+2*i+1)->nsec); in main() 500 (pct+2*i+2)->sec, (pct+2*i+2)->nsec); in main()
|
/external/libaom/tools/gop_bitrate/ |
D | encode_all_script.sh | 12 …esh=0 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --sharpness=0 …
|
/external/rust/crates/plotters/src/data/ |
D | quartiles.rs | 14 fn percentile_of_sorted<T: Into<f64> + Copy>(s: &[T], pct: f64) -> f64 { in percentile_of_sorted() 19 assert!(0_f64 <= pct); in percentile_of_sorted() 21 assert!(pct <= hundred); in percentile_of_sorted() 22 if (pct - hundred).abs() < std::f64::EPSILON { in percentile_of_sorted() 26 let rank = (pct / hundred) * length; in percentile_of_sorted()
|
/external/perfetto/src/trace_processor/metrics/sql/android/ |
D | g2d_duration.sql | 20 pct.name AS track_name, 25 FROM counter c JOIN process_counter_track pct ON pct.id = c.track_id 26 WHERE pct.name GLOB 'g2d_frame_{{g2d_type}}*';
|
D | process_counter_span_view.sql | 26 FROM process p WHERE p.upid = pct.upid) + 1 30 FROM counter c JOIN process_counter_track pct 31 ON pct.id = c.track_id
|
/external/rust/crates/bencher/ |
D | stats.rs | 105 fn percentile(&self, pct: f64) -> f64; in percentile() 256 fn percentile(&self, pct: f64) -> f64 { in percentile() 259 percentile_of_sorted(&tmp, pct) in percentile() 283 fn percentile_of_sorted(sorted_samples: &[f64], pct: f64) -> f64 { in percentile_of_sorted() 289 assert!(zero <= pct); in percentile_of_sorted() 291 assert!(pct <= hundred); in percentile_of_sorted() 292 if pct == hundred { in percentile_of_sorted() 296 let rank = (pct / hundred) * length; in percentile_of_sorted() 313 pub fn winsorize(samples: &mut [f64], pct: f64) { in winsorize() 316 let lo = percentile_of_sorted(&tmp, pct); in winsorize() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineColorWriteEnableTests.cpp | 1142 PipelineConstructionType pct; member 1189 const PipelineConstructionType pct) in GraphicsPipelineWrapperEx() 1190 : GraphicsPipelineWrapper (vkd, dev, pct) in GraphicsPipelineWrapperEx() 1299 checkPipelineLibraryRequirements(vki, physicalDevice, m_params.pct); in checkSupport() 1657 pipelines.emplace_back(m_vkd, m_device, m_params.pct); in iterate() 1705 …aseGroup* createColorWriteEnableTests (tcu::TestContext& testCtx, vk::PipelineConstructionType pct) in createColorWriteEnableTests() argument 1763 …able_all", "Dynamically enable writes to all color attachments", pct, mask_all, kChan… in createColorWriteEnableTests() 1764 …first", "Dynamically enable writes to the first color attachment", pct, mask_first, kCh… in createColorWriteEnableTests() 1765 …cond", "Dynamically enable writes to the second color attachment", pct, mask_second, kCh… in createColorWriteEnableTests() 1766 …_last", "Dynamically enable writes to the last color attachment", pct, mask_last, kCha… in createColorWriteEnableTests() [all …]
|
/external/autotest/client/tools/ |
D | diffprofile | 64 pct = (100 * diff[key]) / orig[key] 66 pct = 0 67 print("%10d %6.1f%% %s" % (diff[key], pct, key))
|
/external/rust/crates/criterion/src/ |
D | format.rs | 1 pub fn change(pct: f64, signed: bool) -> String { in change() 3 format!("{:>+6}%", signed_short(pct * 1e2)) in change() 5 format!("{:>6}%", short(pct * 1e2)) in change()
|