Home
last modified time | relevance | path

Searched refs:RelDiff (Results 1 – 25 of 35) sorted by relevance

12

/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
316 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
317 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
337 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
339 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
356 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
357 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm11/llvm-11.0.1.src/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
316 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
317 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
337 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
339 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
356 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
357 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
313 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
314 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
334 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
336 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
353 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
354 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
316 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
317 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
337 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
339 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
356 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
357 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm10/llvm-10.0.1.src/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
316 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
317 return formatv(R"({0:P})", RelDiff); in getLabel()
335 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
337 RelDiff); in getLabel()
354 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
355 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
313 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
314 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
334 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
336 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
353 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
354 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
316 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
317 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
337 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
339 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
356 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
357 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
313 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
314 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
334 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
336 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
353 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
354 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
316 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
317 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
337 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
339 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
356 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
357 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
316 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
317 return formatv(R"({0:P})", RelDiff); in getLabel()
335 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
337 RelDiff); in getLabel()
354 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
355 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
313 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
314 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
334 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
336 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
353 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
354 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm80/llvm-8.0.1.src/tools/llvm-xray/
H A Dxray-graph-diff.cpp279 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
280 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
300 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
301 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
330 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
331 return formatv(R"({0:P})", RelDiff); in getLabel()
349 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
351 RelDiff); in getLabel()
368 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
369 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm90/llvm-9.0.1.src/tools/llvm-xray/
H A Dxray-graph-diff.cpp278 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
279 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
299 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
300 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
329 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
330 return formatv(R"({0:P})", RelDiff); in getLabel()
348 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
350 RelDiff); in getLabel()
367 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
368 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
313 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
314 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
334 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
336 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
353 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
354 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm70/llvm-7.0.1.src/tools/llvm-xray/
H A Dxray-graph-diff.cpp279 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
280 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
300 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
301 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
330 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
331 return formatv(R"({0:P})", RelDiff); in getLabel()
349 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
351 RelDiff); in getLabel()
368 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
369 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp265 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
266 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
286 double RelDiff = statRelDiff(LeftStat, RightStat, T); in getColor() local
287 double CappedRelDiff = std::min(1.0, std::max(-1.0, RelDiff)); in getColor()
313 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLabel() local
314 return std::string(formatv(R"({0:P})", RelDiff)); in getLabel()
334 double RelDiff = statRelDiff(LeftStat, RightStat, VL); in getLabel() local
336 R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(), RelDiff)); in getLabel()
353 double RelDiff = statRelDiff(LeftStat, RightStat, EL); in getLineWidth() local
354 return (RelDiff > 1.0) ? RelDiff : 1.0; in getLineWidth()
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/lulesh2.0.3_orig/
H A Dlulesh-util.cc201 Real_t RelDiff = AbsDiff / locDom.e(k*nx+j); in VerifyAndWriteFinalOutput() local
203 if (MaxRelDiff <RelDiff) MaxRelDiff = RelDiff; in VerifyAndWriteFinalOutput()
/dports/science/ascent/ascent-0.7.1-66-gbcf2742a/src/examples/proxies/lulesh2.0.3/
H A Dlulesh-util.cc201 Real_t RelDiff = AbsDiff / locDom.e(k*nx+j); in VerifyAndWriteFinalOutput() local
203 if (MaxRelDiff <RelDiff) MaxRelDiff = RelDiff; in VerifyAndWriteFinalOutput()
/dports/science/axom/axom-0.6.1/src/axom/sidre/examples/lulesh2/
H A Dlulesh-util.cc206 Real_t RelDiff = AbsDiff / locDom.e(k*nx+j); in VerifyAndWriteFinalOutput() local
208 if (MaxRelDiff <RelDiff) MaxRelDiff = RelDiff; in VerifyAndWriteFinalOutput()
/dports/math/giacxcas/CoCoALib-0.99700/src/AlgebraicCore/
H A DRingTwinFloat.C111 mpf_t RelDiff; mpf_init2(RelDiff, 32); // a very low precision suffices in LogRelDiff() local
112 mpf_reldiff(RelDiff, a, b); in LogRelDiff()
113 mpf_abs(RelDiff, RelDiff); in LogRelDiff()
115 if (mpf_sgn(RelDiff) == 0) { mpf_clear(RelDiff); return MaxLog; } in LogRelDiff()
116 if (mpf_cmp_ui(RelDiff, 1) >= 0) { mpf_clear(RelDiff); return 0; } in LogRelDiff()
119 mpf_get_d_2exp(&LogRelDiff, RelDiff); in LogRelDiff()
121 mpf_clear(RelDiff); in LogRelDiff()
1352 const double RelDiff = mpf_get_d(tmp); in myDebugPrint() local
1353 out << "Rel diff: " << RelDiff << endl; in myDebugPrint()
1354 out << "log2(..): " << std::log(RelDiff)/std::log(2.0) << endl; in myDebugPrint()
/dports/math/cocoalib/CoCoALib-0.99712/src/AlgebraicCore/
H A DRingTwinFloat.C111 mpf_t RelDiff; mpf_init2(RelDiff, 32); // a very low precision suffices in LogRelDiff() local
112 mpf_reldiff(RelDiff, a, b); in LogRelDiff()
113 mpf_abs(RelDiff, RelDiff); in LogRelDiff()
115 if (mpf_sgn(RelDiff) == 0) { mpf_clear(RelDiff); return MaxLog; } in LogRelDiff()
116 if (mpf_cmp_ui(RelDiff, 1) >= 0) { mpf_clear(RelDiff); return 0; } in LogRelDiff()
119 mpf_get_d_2exp(&LogRelDiff, RelDiff); in LogRelDiff()
121 mpf_clear(RelDiff); in LogRelDiff()
1352 const double RelDiff = mpf_get_d(tmp); in myDebugPrint() local
1353 out << "Rel diff: " << RelDiff << endl; in myDebugPrint()
1354 out << "log2(..): " << std::log(RelDiff)/std::log(2.0) << endl; in myDebugPrint()
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/lulesh2.0.3/
H A Dlulesh-util.cpp250 Real_t RelDiff = AbsDiff / locDom.e(k * nx + j); in VerifyAndWriteFinalOutput() local
252 if (MaxRelDiff <RelDiff) in VerifyAndWriteFinalOutput()
253 MaxRelDiff = RelDiff; in VerifyAndWriteFinalOutput()
/dports/misc/openvdb/openvdb-9.0.0/nanovdb/nanovdb/cmd/convert/
H A Dnanovdb_convert.cc228 nanovdb::OpenToNanoVDB<float, nanovdb::FpN, nanovdb::RelDiff> s; in main()
230 s.oracle() = nanovdb::RelDiff(tolerance); in main()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/erts/emulator/test/
H A Dsystem_info_SUITE.erl405 cmp_memory(What, Mem1, Mem2, RelDiff) ->
415 true = R2*RelDiff > R1;
417 true = R1*RelDiff > R2
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/erts/emulator/test/
H A Dsystem_info_SUITE.erl405 cmp_memory(What, Mem1, Mem2, RelDiff) ->
415 true = R2*RelDiff > R1;
417 true = R1*RelDiff > R2

12