1 unstable release
0.1.0 | May 6, 2019 |
---|
#570 in Memory management
3KB
daktylos - a simple memory usage counting allocator
This crate gets the excellent custom wrapper example that keeps track of memory usage.
Usage
use daktylos::Allocator;
#[global_allocator]
static A: Allocator = Allocator::new();
fn main() {
println!("{}", A.current_usage());
}