/external/jemalloc_new/include/jemalloc/internal/ |
D | tcache_structs.h | 24 cache_bin_t bins_small[NBINS]; 44 uint8_t lg_fill_div[NBINS]; 50 cache_bin_t bins_large[NSIZES-NBINS];
|
D | tcache_types.h | 64 ((TCACHE_GC_SWEEP / NBINS) + ((TCACHE_GC_SWEEP / NBINS == 0) ? 0 : 1))
|
D | jemalloc_internal_inlines_a.h | 111 assert(binind < NBINS); in tcache_small_bin_get() 117 assert(binind >= NBINS &&binind < nhbins); in tcache_large_bin_get() 118 return &tcache->bins_large[binind - NBINS]; in tcache_large_bin_get()
|
D | arena_inlines_b.h | 228 if (config_prof && unlikely(szind < NBINS)) { in arena_dalloc() 255 slab = (szind < NBINS); in arena_sdalloc_no_tcache() 267 assert((config_prof && opt_prof) || slab == (szind < NBINS)); in arena_sdalloc_no_tcache() 321 slab = (szind < NBINS); in arena_sdalloc() 340 if (config_prof && unlikely(szind < NBINS)) { in arena_sdalloc()
|
D | ctl.h | 43 bin_stats_t bstats[NBINS]; 44 arena_stats_large_t lstats[NSIZES - NBINS];
|
D | arena_stats.h | 91 arena_stats_large_t lstats[NSIZES - NBINS]; 225 NBINS].nrequests, nrequests); in arena_stats_large_nrequests_add()
|
D | tcache_inlines.h | 49 assert(binind < NBINS); in tcache_alloc_small() 112 assert(binind >= NBINS &&binind < nhbins); in tcache_alloc_large()
|
D | arena_structs_b.h | 206 bin_t bins[NBINS];
|
D | bin.h | 51 extern const bin_info_t bin_infos[NBINS];
|
D | rtree.h | 316 assert(!slab || szind < NBINS); in rtree_leaf_elm_szind_slab_update() 501 assert(!slab || szind < NBINS); in rtree_szind_slab_update()
|
D | size_classes.h | 180 #define NBINS 39 macro 329 #define NBINS 36 macro 476 #define NBINS 35 macro 788 #define NBINS 39 macro 1097 #define NBINS 36 macro 1404 #define NBINS 35 macro 1424 #if (NBINS > 256)
|
D | size_classes.sh | 302 * NBINS: Number of small size class bins.
|
/external/tensorflow/tensorflow/core/kernels/ |
D | bincount_op_test.cc | 48 #define BM_BincountDev(K, NBINS, type) \ argument 49 static void BM_Bincount##_##type##_##K##_##NBINS( \ 51 test::Benchmark(#type, Bincount(K * 1024, NBINS), \ 57 BENCHMARK(BM_Bincount##_##type##_##K##_##NBINS);
|
/external/jemalloc_new/src/ |
D | android_je_mallinfo.c | 24 for (unsigned j = 0; j < NSIZES - NBINS; j++) { in accumulate_large_allocs() 29 total_bytes += sz_index2size(NBINS + j) * allocs; in accumulate_large_allocs() 36 for (unsigned j = 0; j < NBINS; j++) { in accumulate_small_allocs() 76 return NBINS; in je_mallinfo_nbins() 101 if (aidx < narenas_auto && bidx < NBINS) { in je_mallinfo_bin_info()
|
D | tcache.c | 48 if (binind < NBINS) { in tcache_event_hard() 57 if (binind < NBINS) { in tcache_event_hard() 79 if (binind < NBINS && tcache->lg_fill_div[binind] > 1) { in tcache_event_hard() 112 assert(binind < NBINS); in tcache_bin_flush_small() 380 memset(tcache->bins_small, 0, sizeof(cache_bin_t) * NBINS); in tcache_init() 381 memset(tcache->bins_large, 0, sizeof(cache_bin_t) * (nhbins - NBINS)); in tcache_init() 383 for (; i < NBINS; i++) { in tcache_init() 475 for (unsigned i = 0; i < NBINS; i++) { in tcache_flush_cache() 485 for (unsigned i = NBINS; i < nhbins; i++) { in tcache_flush_cache() 554 for (i = 0; i < NBINS; i++) { in tcache_stats_merge() [all …]
|
D | arena.c | 43 static div_info_t arena_binind_div_info[NBINS]; 125 for (szind_t i = 0; i < NSIZES - NBINS; i++) { in arena_stats_merge() 148 curlextents * sz_index2size(NBINS + i)); in arena_stats_merge() 159 for (; i < NBINS; i++) { in arena_stats_merge() 203 for (szind_t i = 0; i < NBINS; i++) { in arena_stats_merge() 298 hindex = (index >= NBINS) ? index - NBINS : 0; in arena_large_malloc_stats_update() 314 hindex = (index >= NBINS) ? index - NBINS : 0; in arena_large_dalloc_stats_update() 1002 for (unsigned i = 0; i < NBINS; i++) { in arena_reset() 1327 assert(binind < NBINS); in arena_malloc_small() 1441 extent_szind_set(extent, NBINS); in arena_prof_demote() [all …]
|
D | bin.c | 7 const bin_info_t bin_infos[NBINS] = {
|
D | ctl.c | 699 memset(ctl_arena->astats->bstats, 0, NBINS * in ctl_arena_clear() 701 memset(ctl_arena->astats->lstats, 0, (NSIZES - NBINS) * in ctl_arena_clear() 718 for (i = 0; i < NBINS; i++) { in ctl_arena_stats_amerge() 830 for (i = 0; i < NBINS; i++) { in ctl_arena_stats_sdmerge() 856 for (i = 0; i < NSIZES - NBINS; i++) { in ctl_arena_stats_sdmerge() 2428 CTL_RO_NL_GEN(arenas_nbins, NBINS, unsigned) in CTL_RO_NL_GEN() 2435 if (i > NBINS) { in CTL_RO_NL_GEN() 2441 CTL_RO_NL_GEN(arenas_nlextents, NSIZES - NBINS, unsigned) 2442 CTL_RO_NL_GEN(arenas_lextent_i_size, sz_index2size(NBINS+(szind_t)mib[2]), 2447 if (i > NSIZES - NBINS) { in arenas_lextent_i_index() [all …]
|
/external/jemalloc_new/test/unit/ |
D | slab.c | 6 for (binind = 0; binind < NBINS; binind++) { in TEST_BEGIN()
|
D | mallctl.c | 684 TEST_ARENAS_CONSTANT(unsigned, nbins, NBINS); in TEST_BEGIN() 685 TEST_ARENAS_CONSTANT(unsigned, nlextents, NSIZES - NBINS); in TEST_BEGIN()
|