mtop/lib.rs
1//! mtop: Linux memory analysis TUI.
2//!
3//! Two-tier sampling, driven by measured costs:
4//! tier 1 (every tick): /proc/<pid>/statm, ~15-30 ms for the whole system
5//! tier 2 (budgeted): /proc/<pid>/smaps_rollup, 1.5 ms avg, up to 19 ms
6//! detail (on demand): /proc/<pid>/smaps, 30-40 ms
7
8pub mod app;
9pub mod apps;
10pub mod cgroup;
11pub mod diff;
12pub mod i18n;
13pub mod json;
14pub mod model;
15pub mod procfs;
16pub mod sampler;
17pub mod theme;
18pub mod ui;