Home
last modified time | relevance | path

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

/external/jemalloc_new/test/unit/
Dprof_reset.c21 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 …]
Dmallctl.c181 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof); in TEST_BEGIN()
/external/jemalloc_new/include/jemalloc/internal/
Dprof_externs.h43 extern size_t lg_prof_sample;
Dprivate_namespace_jet.h274 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
Dprivate_namespace.h271 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
/external/jemalloc_new/src/
Dprof.c71 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()
Dctl.c149 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_new/
DChangeLog1092 - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).