1 unstable release
| 0.1.2 | Aug 25, 2023 |
|---|
#29 in #heap
116 downloads per month
15KB
325 lines
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
Dependencies
~9.5MB
~173K SLoC