mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-24 11:52:14 +03:00
Add support for clock_gettime_nsec_np()
Prefer clock_gettime_nsec_np(CLOCK_UPTIME_RAW) to mach_absolute_time().
This commit is contained in:
parent
397827a27d
commit
6d625d5e5e
3 changed files with 27 additions and 1 deletions
|
|
@ -117,6 +117,11 @@
|
|||
*/
|
||||
#undef JEMALLOC_HAVE_CLOCK_REALTIME
|
||||
|
||||
/*
|
||||
* Defined if clock_gettime_nsec_np(CLOCK_UPTIME_RAW) is available.
|
||||
*/
|
||||
#undef JEMALLOC_HAVE_CLOCK_GETTIME_NSEC_NP
|
||||
|
||||
/*
|
||||
* Defined if _malloc_thread_cleanup() exists. At least in the case of
|
||||
* FreeBSD, pthread_key_create() allocates, which if used during malloc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue