| /src/external/bsd/jemalloc/dist/test/stress/ |
| mallctl.c | 35 uint64_t nmalloc; local 36 size_t sz = sizeof(nmalloc); 37 int err = mallctl("stats.arenas.0.bins.0.nmalloc", &nmalloc, &sz, NULL, 47 uint64_t nmalloc; local 48 size_t sz = sizeof(nmalloc); 49 int err = mallctlbymib(mib_long, miblen, &nmalloc, &sz, NULL, 0); 61 int err = mallctlnametomib("stats.arenas.0.bins.0.nmalloc", mib_long,
|
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| bin_stats.h | 12 * each to nmalloc and ndalloc. 14 uint64_t nmalloc; member in struct:bin_stats_s
|
| arena_stats.h | 27 arena_stats_u64_t nmalloc; member in struct:arena_stats_large_s
|
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| bin_stats.h | 12 * each to nmalloc and ndalloc. 14 uint64_t nmalloc; member in struct:bin_stats_s
|
| arena_stats.h | 27 arena_stats_u64_t nmalloc; member in struct:arena_stats_large_s
|
| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| bin_stats.h | 12 * each to nmalloc and ndalloc. 14 uint64_t nmalloc; member in struct:bin_stats_s
|
| arena_stats.h | 19 locked_u64_t nmalloc; member in struct:arena_stats_large_s
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| bin_stats.h | 12 * each to nmalloc and ndalloc. 14 uint64_t nmalloc; member in struct:bin_stats_s
|
| arena_stats.h | 19 locked_u64_t nmalloc; member in struct:arena_stats_large_s
|
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| stats.c | 32 uint64_t nmalloc, ndalloc, nrequests; local 47 assert_d_eq(mallctl("stats.arenas.0.large.nmalloc", (void *)&nmalloc, 58 assert_u64_ge(nmalloc, ndalloc, 59 "nmalloc should be at least as large as ndalloc"); 60 assert_u64_le(nmalloc, nrequests, 61 "nmalloc should no larger than nrequests"); 146 uint64_t epoch, nmalloc, ndalloc, nrequests; local 165 assert_d_eq(mallctl("stats.arenas.0.small.nmalloc", (void *)&nmalloc, 191 uint64_t epoch, nmalloc, ndalloc; local 231 uint64_t epoch, nmalloc, ndalloc, nrequests, nfills, nflushes; local 319 uint64_t epoch, nmalloc, ndalloc; local [all...] |
| /src/lib/libbsdmalloc/ |
| malloc.c | 121 * nmalloc[i] is the difference between the number of mallocs and frees 124 static u_int nmalloc[NBUCKETS]; variable 250 nmalloc[bucket]++; 338 nmalloc[(size_t)size]--; 487 fprintf(stderr, " %d", nmalloc[i]); 488 totused += nmalloc[i] * (1 << (i + 3));
|
| /src/libexec/ld.elf_so/ |
| xmalloc.c | 141 * nmalloc[i] is the difference between the number of mallocs and frees 144 static u_int nmalloc[NBUCKETS]; variable 221 nmalloc[bucket]++; 304 nmalloc[size]--; 379 xprintf(" %d", nmalloc[i]); 380 totused += nmalloc[i] * (1 << (i + FIRST_BUCKET_SHIFT));
|
| /src/external/bsd/jemalloc/dist/test/unit/ |
| stats.c | 35 uint64_t nmalloc, ndalloc, nrequests; local 50 expect_d_eq(mallctl("stats.arenas.0.large.nmalloc", (void *)&nmalloc, 61 expect_u64_ge(nmalloc, ndalloc, 62 "nmalloc should be at least as large as ndalloc"); 63 expect_u64_le(nmalloc, nrequests, 64 "nmalloc should no larger than nrequests"); 150 uint64_t epoch, nmalloc, ndalloc, nrequests; local 169 expect_d_eq(mallctl("stats.arenas.0.small.nmalloc", (void *)&nmalloc, 195 uint64_t epoch, nmalloc, ndalloc; local 235 uint64_t epoch, nmalloc, ndalloc, nrequests, nfills, nflushes; local 328 uint64_t epoch, nmalloc, ndalloc; local [all...] |
| /src/external/bsd/jemalloc.old/dist/src/ |
| stats.c | 249 COL(nmalloc, right, 13, uint64) 297 uint64_t nmalloc, ndalloc, nrequests, nfills, nflushes; local 314 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j, &nmalloc, 337 emitter_json_kv(emitter, "nmalloc", emitter_type_uint64, 338 &nmalloc); 383 col_nmalloc.uint64_val = nmalloc; 440 COL(nmalloc, right, 13, uint64) 453 uint64_t nmalloc, ndalloc, nrequests; local 456 CTL_M2_M4_GET("stats.arenas.0.lextents.0.nmalloc", i, j [all...] |
| arena.c | 126 uint64_t nmalloc = arena_stats_read_u64(tsdn, &arena->stats, local 127 &arena->stats.lstats[i].nmalloc); 128 arena_stats_accum_u64(&lstats[i].nmalloc, nmalloc); 129 arena_stats_accum_u64(&astats->nmalloc_large, nmalloc); 139 nmalloc + nrequests); 141 nmalloc + nrequests); 143 assert(nmalloc >= ndalloc); 144 assert(nmalloc - ndalloc <= SIZE_T_MAX); 145 size_t curlextents = (size_t)(nmalloc - ndalloc) [all...] |
| /src/external/bsd/jemalloc/dist/src/ |
| arena.c | 109 uint64_t nmalloc = locked_read_u64(tsdn, local 111 &arena->stats.lstats[i].nmalloc); 112 locked_inc_u64_unsynchronized(&lstats[i].nmalloc, nmalloc); 113 astats->nmalloc_large += nmalloc; 125 nmalloc + nrequests); 126 astats->nrequests_large += nmalloc + nrequests; 128 /* nfill == nmalloc for large currently. */ 129 locked_inc_u64_unsynchronized(&lstats[i].nfills, nmalloc); 130 astats->nfills_large += nmalloc; [all...] |
| stats.c | 325 COL_HDR(row, nmalloc, NULL, right, 13, uint64) 403 uint64_t nmalloc, ndalloc, nrequests, nfills, nflushes; local 441 CTL_LEAF(stats_arenas_mib, 5, "nmalloc", &nmalloc, uint64_t); 459 emitter_json_kv(emitter, "nmalloc", emitter_type_uint64, 460 &nmalloc); 517 col_nmalloc.uint64_val = nmalloc; 518 col_nmalloc_ps.uint64_val = rate_per_second(nmalloc, uptime); 579 COL_HDR(row, nmalloc, NULL, right, 13, uint64) 617 uint64_t nmalloc, ndalloc, nrequests local [all...] |