Home
last modified time | relevance | path

Searched refs:bins (Results 1 – 25 of 48) sorted by relevance

12

/external/eigen/test/
Drand.cpp40 template<typename Scalar> void check_histogram(Scalar x, Scalar y, int bins) in check_histogram() argument
42 Array<int,1,Dynamic> hist(bins); in check_histogram()
45 int n = bins*f; in check_histogram()
47 int divisor = int((range+1)/bins); in check_histogram()
48 assert(((range+1)%bins)==0); in check_histogram()
113 int bins = 100; in test_rand() local
114 CALL_SUBTEST(check_histogram<int>(-3333,-3333+bins*(3333/bins)-1,bins)); in test_rand()
115 bins = 1000; in test_rand()
116 CALL_SUBTEST(check_histogram<int>(-RAND_MAX+10,-RAND_MAX+10+bins*(RAND_MAX/bins)-1,bins)); in test_rand()
117 …BTEST(check_histogram<int>(-RAND_MAX+10,-int64(RAND_MAX)+10+bins*(2*int64(RAND_MAX)/bins)-1,bins)); in test_rand()
/external/skia/tests/
DRandomTest.cpp34 static bool chi_square_test(int bins[256], int e) { in chi_square_test()
42 double delta = bins[j] - e; in chi_square_test()
60 int bins[256]; in test_random_byte() local
61 memset(bins, 0, sizeof(int)*256); in test_random_byte()
65 bins[(rand.nextU() >> shift) & 0xff]++; in test_random_byte()
68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_byte()
72 int bins[256]; in test_random_float() local
73 memset(bins, 0, sizeof(int)*256); in test_random_float()
79 bins[(int)(f*256.f)]++; in test_random_float()
81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_float()
[all …]
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp146 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec() local
152 bins[0] = first; in spread_sort_rec()
154 bins[u + 1] = bins[u] + bin_sizes[u]; in spread_sort_rec()
160 RandomAccessIter * local_bin = bins + u; in spread_sort_rec()
165 for(target_bin = (bins + ((*current >> log_divisor) - div_min)); target_bin != local_bin; in spread_sort_rec()
166 target_bin = bins + ((*current >> log_divisor) - div_min)) { in spread_sort_rec()
171 RandomAccessIter * b_bin = bins + ((*b >> log_divisor) - div_min); in spread_sort_rec()
185 bins[bin_count - 1] = last; in spread_sort_rec()
209 …inline void inner_swap_loop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsign… in inner_swap_loop() argument
212 RandomAccessIter * local_bin = bins + ii; in inner_swap_loop()
[all …]
/external/webp/src/utils/
Dfilters_utils.c32 int bins[WEBP_FILTER_LAST][SMAX]; in WebPEstimateBestFilter() local
33 memset(bins, 0, sizeof(bins)); in WebPEstimateBestFilter()
46 bins[WEBP_FILTER_NONE][diff0] = 1; in WebPEstimateBestFilter()
47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in WebPEstimateBestFilter()
48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in WebPEstimateBestFilter()
49 bins[WEBP_FILTER_GRADIENT][diff3] = 1; in WebPEstimateBestFilter()
60 if (bins[filter][i] > 0) { in WebPEstimateBestFilter()
/external/libdrm/nouveau/
Dbufctx.c56 struct nouveau_bufbin_priv bins[]; member
66 nouveau_bufctx_new(struct nouveau_client *client, int bins, in nouveau_bufctx_new() argument
71 priv = calloc(1, sizeof(*priv) + sizeof(priv->bins[0]) * bins); in nouveau_bufctx_new()
77 priv->nr_bins = bins; in nouveau_bufctx_new()
106 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_reset()
125 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_refn()
153 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_mthd()
/external/ltp/tools/pounder21/src/memxfer5b/
DMakefile22 bins = memxfer5b macro
24 all: ${bins}
27 rm -f ${bins}
/external/ltp/tools/pounder21/src/mem_alloc_test/
DMakefile21 bins = mem_alloc macro
23 all: ${bins}
26 rm -f ${bins}
/external/ltp/tools/pounder21/src/randasyscall/
DMakefile22 bins = randasys macro
24 all: ${bins}
27 rm -f ${bins}
/external/ltp/tools/pounder21/src/randacoords/
DMakefile22 bins = coords macro
24 all: ${bins}
27 rm -f ${bins}
/external/ltp/tools/pounder21/src/time_tests/
DMakefile23 bins = inconsistency-check macro
25 all: ${bins}
28 rm -f ${bins}
/external/ltp/tools/pounder21/src/xbonkers/
DMakefile23 bins = xbonkers macro
25 all: ${bins}
28 rm -f ${bins}
/external/ltp/tools/pounder21/src/ramsnake/
DMakefile22 bins = snake.exe macro
24 all: ${bins}
30 rm -f ${bins}
/external/ltp/tools/pounder21/src/cpufreq/
DMakefile23 bins = cpufreq.bin macro
25 all: ${bins}
31 rm -f ${bins}
/external/lisa/libs/utils/analysis/
Dlatency_analysis.py285 def plotLatency(self, task, kind='all', tag=None, threshold_ms=1, bins=64): argument
392 df.latency.plot(kind='hist', bins=bins, ax=axes,
395 .format(bins, threshold_ms));
481 def plotActivations(self, task, tag=None, threshold_ms=16, bins=64): argument
591 wkp_df.plot(kind='hist', bins=bins, ax=axes,
594 .format(bins, threshold_ms));
612 def plotRuntimes(self, task, tag=None, threshold_ms=8, bins=64): argument
722 run_df.plot(kind='hist', bins=bins, ax=axes,
725 .format(bins, threshold_ms));
/external/bison/lib/
Dbitset_stats.c108 unsigned int n_bins, unsigned int *bins) in bitset_percent_histogram_print() argument
115 total += bins[i]; in bitset_percent_histogram_print()
124 (i + 1) * 100.0 / n_bins, bins[i], in bitset_percent_histogram_print()
125 (100.0 * bins[i]) / total); in bitset_percent_histogram_print()
132 unsigned int n_bins, unsigned int *bins) in bitset_log_histogram_print() argument
140 total += bins[i]; in bitset_log_histogram_print()
146 for (i = n_bins; i > 3 && ! bins[i - 1]; i--) in bitset_log_histogram_print()
156 max_width, i, bins[i], 100.0 * bins[i] / total); in bitset_log_histogram_print()
163 bins[i], in bitset_log_histogram_print()
164 (100.0 * bins[i]) / total); in bitset_log_histogram_print()
/external/llvm/test/Analysis/ScalarEvolution/
Dtrip-count.ll42 %bins = alloca [16 x i64], align 16
43 %0 = bitcast [16 x i64]* %bins to i8*
55 %arrayidx = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %v11
68 %arrayidx8 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 2
76 %arrayidx.1 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %next12
/external/jemalloc/src/
Dandroid_je_mallinfo.c34 arena_bin_t* bin = &arenas[i]->bins[j]; in je_mallinfo()
70 arena_bin_t* bin = &arenas[aidx]->bins[j]; in __mallinfo_arena_info()
89 arena_bin_t* bin = &arenas[aidx]->bins[bidx]; in __mallinfo_bin_info()
Dstats.c318 bool json, unsigned i, bool bins, bool large, bool huge) in stats_arena_print() argument
546 if (bins) { in stats_arena_print()
947 bool json, bool merged, bool unmerged, bool bins, bool large, bool huge) in stats_print_helper() argument
1023 narenas, bins, large, huge); in stats_print_helper()
1045 json, i, bins, large, huge); in stats_print_helper()
1074 bool bins = true; in stats_print() local
1118 bins = false; in stats_print()
1144 bins, large, huge); in stats_print()
Dtcache.c110 arena_bin_t *bin = &bin_arena->bins[binind]; in tcache_bin_flush_small()
158 arena_bin_t *bin = &arena->bins[binind]; in tcache_bin_flush_small()
374 arena_bin_t *bin = &arena->bins[i]; in tcache_destroy()
433 arena_bin_t *bin = &arena->bins[i]; in tcache_stats_merge()
/external/libvpx/libvpx/build/make/
DMakefile371 .bins: $(BINS)
378 .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS))
382 rm -f .bins .install-bins $(BINS)
450 BUILD_TARGETS += .docs .libs .bins
451 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DHistogramChart.java250 int[][] bins = new int[rawData.size()][getNumBins()]; in recalculateDataSet() local
254 ++bins[setNum][(int) (Math.floor((d - minBin) / binWidth))]; in recalculateDataSet()
261 for (int i = 0; i < bins[setNum].length; i++) { in recalculateDataSet()
262 dataSet.addEntry(new BarEntry(i, bins[setNum][i])); in recalculateDataSet()
/external/fio/tools/hist/
Dfiologparser_hist.py234 bins = [ctx.group_nr * (1 << 6)]
236 bins = [1216,1280,1344,1408,1472,1536,1600,1664]
240 arr = np.transpose(list(map(fncn, bins)))
254 return bins[idx[1][0]]
/external/jemalloc/include/jemalloc/internal/
Dsize_classes.sh243 * NTBINS: Number of tiny bins.
244 * NLBINS: Number of bins supported by the lookup table.
245 * NBINS: Number of small size class bins.
/external/v8/tools/perf/
Dstatistics-for-json.R63 geom_histogram(bins=50) +
71 geom_histogram(bins=50) +
/external/trappy/trappy/
Dplot_utils.py177 def plot_hist(data, ax, title, unit, bins, xlabel, xlim, ylim): argument
185 data.hist(ax=ax, bins=bins)

12