heapmon

Crates.ioheapmon
lib.rsheapmon
version0.1.2
sourcesrc
created_at2023-08-25 17:51:33.066022
updated_at2023-08-25 17:51:33.066022
descriptionA heap monitor debugging utility for Rust programs
homepage
repositoryhttps://gitlab.com/lightning-signer/heapmon
max_upload_size
id954939
size28,109
Dev Random (devrandom)

documentation

README

heapmon

A heap monitor debugging utility for Rust programs

Examples

The explicit example controls the heap monitor explicitly:

cargo run --example explicit

The watcher example uses a control file to control the heap monitor. Each time the control file's modification time is updated the enable/disable state of the heap monitor toggles.

In shell #1:

cargo run --example watcher

In shell #2:

touch heapmon.ctl
sleep 30
touch heapmon.ctl
Commit count: 27

cargo fmt