mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Revert "Remove an unused function and global variable"
This reverts commit acd85e5359.
This commit is contained in:
parent
f29cfa8251
commit
b76a7306a8
1 changed files with 6 additions and 0 deletions
|
|
@ -113,6 +113,12 @@ defer_test_hugify(void *ptr, size_t size, bool sync) {
|
|||
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 void
|
||||
defer_test_curtime(nstime_t *r_time, bool first_reading) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue