Searched defs:lg_prof_sample (Results 1 - 2 of 2) sorted by relevance

/external/jemalloc/test/unit/
H A Dprof_reset.c5 "prof:true,prof_active:false,lg_prof_sample:0";
30 size_t lg_prof_sample; local
33 assert_d_eq(mallctl("prof.lg_sample", &lg_prof_sample, &sz, NULL, 0), 0,
35 return (lg_prof_sample);
39 do_prof_reset(size_t lg_prof_sample) argument
42 &lg_prof_sample, sizeof(size_t)), 0,
44 assert_zu_eq(lg_prof_sample, get_lg_prof_sample(),
50 size_t lg_prof_sample_orig, lg_prof_sample, lg_prof_sample_next; local
57 assert_d_eq(mallctl("opt.lg_prof_sample", &lg_prof_sample_orig, &sz,
62 lg_prof_sample
[all...]
/external/jemalloc/src/
H A Dprof.c56 size_t lg_prof_sample; variable
851 if (lg_prof_sample == 0) {
858 * variable with mean (2^lg_prof_sample).
863 * | log(1-p) | lg_prof_sample
877 log(1.0 - (1.0 / (double)((uint64_t)1U << lg_prof_sample))))
1293 ((uint64_t)1U << lg_prof_sample), cnt_all->curobjs,
1887 lg_prof_sample = lg_sample;
2127 lg_prof_sample = opt_lg_prof_sample;

Completed in 60 milliseconds