server-skynet-source-3rd-je.../include/jemalloc
Yinan Zhang 4afd709d1f Restructure setters for profiling info
Explicitly define three setters:

- `prof_tctx_reset()`: set `prof_tctx` to `1U`, if we don't know in
advance whether the allocation is large or not;
- `prof_tctx_reset_sampled()`: set `prof_tctx` to `1U`, if we already
know in advance that the allocation is large;
- `prof_info_set()`: set a real `prof_tctx`, and also set other
profiling info e.g. the allocation time.

Code structure wise, the prof level is kept as a thin wrapper, the
large level only provides low level setter APIs, and the arena level
carries out the main logic.
2019-12-17 10:01:28 -08:00
..
internal Restructure setters for profiling info 2019-12-17 10:01:28 -08:00
jemalloc_defs.h.in Add -Wimplicit-fallthrough checks if supported 2019-11-08 13:03:03 -08:00
jemalloc_macros.h.in Add -Wimplicit-fallthrough checks if supported 2019-11-08 13:03:03 -08:00
jemalloc_mangle.sh jemalloc_mangle.sh: set sh in strict mode 2017-12-11 23:35:20 -08:00
jemalloc_protos.h.in Hide smallocx even when enabled from the library API 2018-10-17 07:12:28 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_typedefs.h.in Hide smallocx even when enabled from the library API 2018-10-17 07:12:28 -07:00
jemalloc.sh Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00