daktylos 0.1.0

a simple memory-counting allocator
Documentation
  • Coverage
  • 0%
    0 out of 5 items documented0 out of 3 items with examples
  • Size
  • Source code size: 3.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.35 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • qmx

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());
}