/external/jemalloc/test/unit/ |
prof_reset.c | 5 "prof:true,prof_active:false,lg_prof_sample:0"; 30 size_t lg_prof_sample; local 33 assert_d_eq(mallctl("prof.lg_sample", (void *)&lg_prof_sample, &sz, 36 return (lg_prof_sample); 40 do_prof_reset(size_t lg_prof_sample) 43 (void *)&lg_prof_sample, sizeof(size_t)), 0, 45 assert_zu_eq(lg_prof_sample, get_lg_prof_sample(), 51 size_t lg_prof_sample_orig, lg_prof_sample, lg_prof_sample_next; local 58 assert_d_eq(mallctl("opt.lg_prof_sample", (void *)&lg_prof_sample_orig, 63 lg_prof_sample = get_lg_prof_sample() [all...] |
mallctl.c | 188 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof);
|
/external/jemalloc/src/ |
prof.c | 56 size_t lg_prof_sample; variable 854 if (lg_prof_sample == 0) { 861 * variable with mean (2^lg_prof_sample). 866 * | log(1-p) | lg_prof_sample 880 log(1.0 - (1.0 / (double)((uint64_t)1U << lg_prof_sample)))) 1326 ((uint64_t)1U << lg_prof_sample), cnt_all->curobjs, [all...] |
ctl.c | 155 CTL_PROTO(lg_prof_sample) 288 {NAME("lg_prof_sample"), CTL(opt_lg_prof_sample)}, 379 {NAME("lg_sample"), CTL(lg_prof_sample)} [all...] |
stats.c | 749 OPT_WRITE_SSIZE_T_MUTABLE(lg_prof_sample, prof.lg_sample, ",") [all...] |
/external/jemalloc/include/jemalloc/internal/ |
prof.h | 281 extern size_t lg_prof_sample;
|
private_namespace.h | 321 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro [all...] |
private_unnamespace.h | 321 #undef lg_prof_sample macro
|