Crates.io | heapmon |
lib.rs | heapmon |
version | 0.1.2 |
source | src |
created_at | 2023-08-25 17:51:33.066022 |
updated_at | 2023-08-25 17:51:33.066022 |
description | A heap monitor debugging utility for Rust programs |
homepage | |
repository | https://gitlab.com/lightning-signer/heapmon |
max_upload_size | |
id | 954939 |
size | 28,109 |
A heap monitor debugging utility for Rust programs
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