Home
last modified time | relevance | path

Searched refs:lg_prof_sample (Results 1 – 7 of 7) sorted by relevance

/external/jemalloc/test/unit/
Dprof_reset.c30 size_t lg_prof_sample; in get_lg_prof_sample() local
33 assert_d_eq(mallctl("prof.lg_sample", &lg_prof_sample, &sz, NULL, 0), 0, in get_lg_prof_sample()
35 return (lg_prof_sample); in get_lg_prof_sample()
39 do_prof_reset(size_t lg_prof_sample) in do_prof_reset() argument
42 &lg_prof_sample, sizeof(size_t)), 0, in do_prof_reset()
44 assert_zu_eq(lg_prof_sample, get_lg_prof_sample(), in do_prof_reset()
50 size_t lg_prof_sample_orig, lg_prof_sample, lg_prof_sample_next; in TEST_BEGIN() local
62 lg_prof_sample = get_lg_prof_sample(); in TEST_BEGIN()
63 assert_zu_eq(lg_prof_sample_orig, lg_prof_sample, in TEST_BEGIN()
71 lg_prof_sample = get_lg_prof_sample(); in TEST_BEGIN()
[all …]
Dmallctl.c182 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof); in TEST_BEGIN()
/external/jemalloc/src/
Dprof.c56 size_t lg_prof_sample; variable
851 if (lg_prof_sample == 0) { in prof_sample_threshold_update()
877 log(1.0 - (1.0 / (double)((uint64_t)1U << lg_prof_sample)))) in prof_sample_threshold_update()
1293 ((uint64_t)1U << lg_prof_sample), cnt_all->curobjs, in prof_dump_header()
1887 lg_prof_sample = lg_sample; in prof_reset()
2127 lg_prof_sample = opt_lg_prof_sample; in prof_boot2()
Dctl.c154 CTL_PROTO(lg_prof_sample)
375 {NAME("lg_sample"), CTL(lg_prof_sample)}
2062 size_t lg_sample = lg_prof_sample; in prof_reset_ctl()
2083 CTL_RO_NL_CGEN(config_prof, lg_prof_sample, lg_prof_sample, size_t) in CTL_RO_NL_CGEN()
Dstats.c526 OPT_WRITE_SSIZE_T(lg_prof_sample) in stats_print()
/external/jemalloc/include/jemalloc/internal/
Dprof.h281 extern size_t lg_prof_sample;
/external/jemalloc/
DChangeLog583 - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).