sketch_comparator.nx
buildroot/runtime/sketch_comparator.nx
about
dependencies 2 imports · 31 importers
diagram shows first 10 each side; +0 more imports, +21 more importers in the complete lists below.
imports: syscalls.nxsketch_types.nx
imported by: bench_hll_vs_cpc.nxbench_hll_vs_cpcd.nxsketch_ams_vs_naive_bench.nxsketch_cb_vs_cuckoo_delete_bench.nxsketch_comparator_test.nxsketch_count_sketch_negative_bench.nxsketch_count_sketch_vs_cms_bias_bench.nxsketch_cuckoo_delete_vs_bloom_bench.nxsketch_cusum_vs_threshold_bench.nxsketch_ddsketch_vs_tdigest_tail_bench.nxsketch_freq_directions_vs_topnorm_bench.nxsketch_hll4_vs_hll8_bench.nxsketch_hll_lgk12_vs_lgk8_bench.nxsketch_hll_packed_vs_hll8_bench.nxsketch_hll_vs_materialized_set_bench.nxsketch_hllmap_merge_capability_bench.nxsketch_holt_vs_ewma_trended_bench.nxsketch_kll_vs_reservoir_bench.nxsketch_kmv_jaccard_vs_naive_bench.nxsketch_lc_vs_hll_small_n_bench.nxsketch_mann_kendall_vs_endpoint_bench.nxsketch_markov_vs_uniform_bench.nxsketch_mg_ss_bracket_bench.nxsketch_naive_bayes_vs_majority_bench.nxsketch_reqsketch_vs_kll_bench.nxsketch_robust_hll_vs_hll_adv_bench.nxsketch_tdigest_v2_vs_v1_bench.nxsketch_tdigest_vs_materialized_quantile_bench.nxsketch_theta_intersect_vs_hll_bench.nxsketch_thompson_vs_ucb1_bench.nxsketch_varopt_vs_reservoir_biased_bench.nx
structs
| 39 | struct ComparisonResult { |
consts
| 30 | const NX_CMP_VERDICT_BEATS: i64 = 0 |
| 31 | const NX_CMP_VERDICT_EQUIVALENT: i64 = 1 |
| 32 | const NX_CMP_VERDICT_LOSES: i64 = 2 |
| 33 | const NX_CMP_VERDICT_INCONCLUSIVE: i64 = 3 |
| 35 | const NX_CMP_AXIS_ACCURACY: i64 = 0 |
| 36 | const NX_CMP_AXIS_MEMORY: i64 = 1 |
| 37 | const NX_CMP_AXIS_TIME: i64 = 2 |
functions
| 48 | func nx_cmp_iabs(x: i64) -> i64 {
called by 1: nx_cmp_accuracy |
| 62 | func nx_cmp_accuracy(our: i64, theirs: i64, truth: i64, tolerance_ppm: i64) -> *ComparisonResult { |
| 99 | func nx_cmp_memory(our_bytes: i64, their_bytes: i64, tolerance_ppm: i64) -> *ComparisonResult { |
| 131 | func nx_cmp_time(our_us: i64, their_us: i64, tolerance_ppm: i64) -> *ComparisonResult { |
| 172 | func nx_cmp_composite(acc: *ComparisonResult, mem: *ComparisonResult, |
| 202 | func nx_cmp_query(r: *ComparisonResult) -> *ApproxI64 { |
| 209 | func nx_cmp_memory_bytes(r: *ComparisonResult) -> i64 { |