Expand description
Planetiler-style phase timing and formatting.
Provides elapsed-time logging, per-phase CPU/wall tracking, and compact number/duration formatting for pipeline progress output.
Structs§
- CpuTime
- Snapshot of process CPU time (user + system).
- Elapsed
Timer - A
tracing_subscriber::fmt::time::FormatTimethat prints elapsed time sinceinitinH:MM:SSformat. - Phase
Summary - Summary returned by
PhaseTimer::finish. - Phase
Timer - Per-phase wall + CPU timer.
Functions§
- elapsed
- Seconds elapsed since
initwas called. - format_
count - Format a count in compact human-readable form.
- format_
duration - Format a
Durationin human-readable compact form. - init
- Initialise the global program timer. Call once at the top of
run(). - process_
cpu_ time - Read current process CPU time via
getrusage(RUSAGE_SELF).