2021-02-16 14:48:20 -07:00
|
|
|
#![allow(clippy::integer_arithmetic)]
|
2019-06-29 15:34:49 +02:00
|
|
|
pub mod measure;
|
2020-01-01 10:51:51 -07:00
|
|
|
pub mod thread_mem_usage;
|
|
|
|
|
|
|
|
#[cfg(unix)]
|
|
|
|
extern crate jemallocator;
|
|
|
|
|
2021-01-18 20:58:52 +09:00
|
|
|
#[cfg(not(feature = "no-jemalloc"))]
|
2020-01-01 10:51:51 -07:00
|
|
|
#[cfg(unix)]
|
|
|
|
#[global_allocator]
|
|
|
|
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|