mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-21 18:32:13 +03:00
Revert "Remove an unused function and global variable"
This reverts commit acd85e5359.
This commit is contained in:
parent
b725d6b1d6
commit
6cc6a4ce51
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