docs.rs failed to build cu-logmon-1.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
cu-logmon-1.1.0
CuLogMon
Compact Copper monitor that emits a one-line statistical snapshot every second via the normal debug! / info! macros.
It is designed to work both on std targets and in bare-metal builds that route logging through defmt.
What it prints
- Copperlist index and windowed rate (Hz)
- End-to-end latency percentiles (p50/p90/p99 + max) in microseconds
- The slowest task in the last window (p99) and the time spent logging the previous report
Usage
[]
= { = "*", = true } # disable default-features for no_std
In copperconfig.ron:
monitor: (
type: "cu_logmon::CuLogMon",
)
For bare-metal targets, disable default features and enable defmt:
= { = "*", = false, = ["defmt"] }
Example
Run the built-in demo (std targets):
It simulates a 3-task pipeline at ~10 Hz and prints a one-line stat report every second.
Full Copper runtime sample
There is also a minimal source->task->sink Copper app wired to CuLogMon:
The runtime uses copperconfig.ron in this crate and logs to logs/logmon_copper_app.copper.