Debian Codegraph @

/

debian rust-malloc-size-of 0.1.1-2debian librust-malloc-size-of-dev debian librust-malloc-size-of+default-dev debian librust-malloc-size-of+std-dev debian librust-malloc-size-of+void-dev debian librust-malloc-size-of-0-dev debian librust-malloc-size-of-0+default-dev debian librust-malloc-size-of-0+std-dev debian librust-malloc-size-of-0+void-dev debian librust-malloc-size-of-0.1-dev debian librust-malloc-size-of-0.1+default-dev debian librust-malloc-size-of-0.1+std-dev debian librust-malloc-size-of-0.1+void-dev debian librust-malloc-size-of-0.1.1-dev debian librust-malloc-size-of-0.1.1+default-dev debian librust-malloc-size-of-0.1.1+std-dev debian librust-malloc-size-of-0.1.1+void-dev cargo malloc_size_of 0.1.1 debianjsonmakefilemarkdownrustrustrust-c-abishelltoml 18 files · 265 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • cargo, debhelper-compat, librust-void-1+default-dev, libstd-rust-dev, rustc
README (full)

MallocSizeOf

Build Status Crates.io Docs Crates.io License dependency status

A an allocator-agnostic crate for measuring the runtime size of a value including the size of any heap allocations that are owned by that value.

This crate is used by both Servo and Firefox for memory usage calculation.

Features

  • It isn't bound to a particular heap allocator.
  • It provides traits for both "shallow" and "deep" measurement, which gives flexibility in the cases where the traits can't be used.
  • It allows for measuring blocks even when only an interior pointer can be obtained for heap allocations, e.g. HashSet and HashMap. (This relies on the heap allocator having suitable support, which jemalloc has.)
  • It allows handling of types like Rc and Arc by providing traits that are different to the ones for non-graph structures.
dir debian/
dir src/
file .cargo_vcs_info.json
file Cargo.lock
file Cargo.toml
file Cargo.toml.orig
file LICENSE-APACHE
file LICENSE-MIT
file README.md