/external/jemalloc_new/test/unit/ |
D | prof_reset.c | 21 size_t lg_prof_sample; in get_lg_prof_sample() local 24 assert_d_eq(mallctl("prof.lg_sample", (void *)&lg_prof_sample, &sz, in get_lg_prof_sample() 27 return lg_prof_sample; in get_lg_prof_sample() 31 do_prof_reset(size_t lg_prof_sample) { in do_prof_reset() argument 33 (void *)&lg_prof_sample, sizeof(size_t)), 0, in do_prof_reset() 35 assert_zu_eq(lg_prof_sample, get_lg_prof_sample(), in do_prof_reset() 40 size_t lg_prof_sample_orig, lg_prof_sample, lg_prof_sample_next; in TEST_BEGIN() local 52 lg_prof_sample = get_lg_prof_sample(); in TEST_BEGIN() 53 assert_zu_eq(lg_prof_sample_orig, lg_prof_sample, in TEST_BEGIN() 61 lg_prof_sample = get_lg_prof_sample(); in TEST_BEGIN() [all …]
|
D | mallctl.c | 181 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof); in TEST_BEGIN()
|
/external/jemalloc/test/unit/ |
D | prof_reset.c | 30 size_t lg_prof_sample; in get_lg_prof_sample() local 33 assert_d_eq(mallctl("prof.lg_sample", (void *)&lg_prof_sample, &sz, in get_lg_prof_sample() 36 return (lg_prof_sample); in get_lg_prof_sample() 40 do_prof_reset(size_t lg_prof_sample) in do_prof_reset() argument 43 (void *)&lg_prof_sample, sizeof(size_t)), 0, in do_prof_reset() 45 assert_zu_eq(lg_prof_sample, get_lg_prof_sample(), in do_prof_reset() 51 size_t lg_prof_sample_orig, lg_prof_sample, lg_prof_sample_next; in TEST_BEGIN() local 63 lg_prof_sample = get_lg_prof_sample(); in TEST_BEGIN() 64 assert_zu_eq(lg_prof_sample_orig, lg_prof_sample, in TEST_BEGIN() 72 lg_prof_sample = get_lg_prof_sample(); in TEST_BEGIN() [all …]
|
D | mallctl.c | 188 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof); in TEST_BEGIN()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | prof_externs.h | 43 extern size_t lg_prof_sample;
|
D | private_namespace.h | 271 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
|
D | private_namespace_jet.h | 274 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
|
/external/jemalloc/src/ |
D | prof.c | 56 size_t lg_prof_sample; variable 854 if (lg_prof_sample == 0) { in prof_sample_threshold_update() 880 log(1.0 - (1.0 / (double)((uint64_t)1U << lg_prof_sample)))) in prof_sample_threshold_update() 1326 ((uint64_t)1U << lg_prof_sample), cnt_all->curobjs, in prof_dump_header() 1498 double sample_period = (double)((uint64_t)1 << lg_prof_sample); in prof_leakcheck() 1965 lg_prof_sample = lg_sample; in prof_reset() 2197 lg_prof_sample = opt_lg_prof_sample; in prof_boot2()
|
D | ctl.c | 155 CTL_PROTO(lg_prof_sample) 379 {NAME("lg_sample"), CTL(lg_prof_sample)} 2091 size_t lg_sample = lg_prof_sample; in prof_reset_ctl() 2109 CTL_RO_NL_CGEN(config_prof, lg_prof_sample, lg_prof_sample, size_t) in CTL_RO_NL_CGEN()
|
D | stats.c | 749 OPT_WRITE_SSIZE_T_MUTABLE(lg_prof_sample, prof.lg_sample, ",") in stats_general_print()
|
/external/jemalloc_new/src/ |
D | prof.c | 71 size_t lg_prof_sample; variable 881 if (lg_prof_sample == 0) { in prof_sample_threshold_update() 907 log(1.0 - (1.0 / (double)((uint64_t)1U << lg_prof_sample)))) in prof_sample_threshold_update() 1333 ((uint64_t)1U << lg_prof_sample), cnt_all->curobjs, in prof_dump_header_impl() 1506 double sample_period = (double)((uint64_t)1 << lg_prof_sample); in prof_leakcheck() 2069 lg_prof_sample = lg_sample; in prof_reset() 2298 lg_prof_sample = opt_lg_prof_sample; in prof_boot2()
|
D | ctl.c | 149 CTL_PROTO(lg_prof_sample) 388 {NAME("lg_sample"), CTL(lg_prof_sample)} 2614 size_t lg_sample = lg_prof_sample; in prof_reset_ctl() 2634 CTL_RO_NL_CGEN(config_prof, lg_prof_sample, lg_prof_sample, size_t) in CTL_RO_NL_CGEN()
|
/external/jemalloc/include/jemalloc/internal/ |
D | private_symbols.txt | 321 lg_prof_sample
|
D | prof.h | 281 extern size_t lg_prof_sample;
|
D | private_namespace.h | 321 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
|
D | private_unnamespace.h | 321 #undef lg_prof_sample
|
/external/jemalloc/ |
D | ChangeLog | 718 - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).
|
/external/jemalloc_new/ |
D | ChangeLog | 1092 - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).
|