1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#![allow(clippy::integer_arithmetic)]
pub mod measure;
pub mod thread_mem_usage;

#[cfg(unix)]
extern crate jemallocator;

#[cfg(not(feature = "no-jemalloc"))]
#[cfg(unix)]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;