Home
last modified time | relevance | path

Searched refs:lg_prof_sample (Results 1 – 18 of 18) 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/test/unit/
Dprof_reset.c30 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 …]
Dmallctl.c188 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.h271 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
Dprivate_namespace_jet.h274 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
/external/jemalloc/src/
Dprof.c56 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()
Dctl.c155 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()
Dstats.c749 OPT_WRITE_SSIZE_T_MUTABLE(lg_prof_sample, prof.lg_sample, ",") in stats_general_print()
/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/include/jemalloc/internal/
Dprivate_symbols.txt321 lg_prof_sample
Dprof.h281 extern size_t lg_prof_sample;
Dprivate_namespace.h321 #define lg_prof_sample JEMALLOC_N(lg_prof_sample) macro
Dprivate_unnamespace.h321 #undef lg_prof_sample
/external/jemalloc/
DChangeLog718 - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).
/external/jemalloc_new/
DChangeLog1092 - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).