Logo
Explore Help
Sign In
lihao/jemalloc
1
0
Fork 0
You've already forked jemalloc
mirror of https://github.com/jemalloc/jemalloc.git synced 2026-07-23 13:13:06 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
390e70c840216fb55e7c2001eb6b040e8b90dd88
jemalloc/test/unit/prof_threshold_small.c
Shai Duvdevani 257e64b968 Unlike prof_sample which is supported only with profiling mode active, prof_threshold is intended to be an always-supported allocation callback with much less overhead. The usage of the threshold allows performance critical callers to change program execution based on the callback: e.g. drop caches when memory becomes high or to predict the program is about to OOM ahead of time using peak memory watermarks.
2025-01-29 18:55:52 -08:00

3 lines
60 B
C
Raw Blame History

#include "test/jemalloc_test.h"
#include "prof_threshold.c"
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 682ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API