mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 13:53:11 +00:00
Revert "Remove an unused function and global variable"
This reverts commit acd85e5359.
This commit is contained in:
committed by
Guangli Dai
parent
755735a6bf
commit
de886e05d2
@@ -113,6 +113,12 @@ defer_test_hugify(void *ptr, size_t size, bool sync) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static size_t ndefer_dehugify_calls = 0;
|
||||||
|
static void
|
||||||
|
defer_test_dehugify(void *ptr, size_t size) {
|
||||||
|
++ndefer_dehugify_calls;
|
||||||
|
}
|
||||||
|
|
||||||
static nstime_t defer_curtime;
|
static nstime_t defer_curtime;
|
||||||
static void
|
static void
|
||||||
defer_test_curtime(nstime_t *r_time, bool first_reading) {
|
defer_test_curtime(nstime_t *r_time, bool first_reading) {
|
||||||
|
|||||||
Reference in New Issue
Block a user