Skip to main content

Module tui

Module tui 

Source

StructsΒ§

LatencyHeatmap πŸ”’
Custom Widget for high-density Latency Heatmap
LatencyTable πŸ”’
Custom Widget for numerical latency table
SystemInfo
System hardware and kernel information, collected once at startup.
TaskTelemetryRow
TuiApp
TUI Application state

EnumsΒ§

SortColumn
TaskStatus
TuiTab

FunctionsΒ§

aggregate_stats πŸ”’
build_cpu_topology_grid_compact πŸ”’
A very compact topology display: shows LLC clusters cleanly formatted.
draw_bench_tab πŸ”’
draw_dashboard_tab πŸ”’
draw_reference_tab πŸ”’
draw_topology_tab πŸ”’
draw_ui πŸ”’
Draw the UI
format_bench_for_clipboard πŸ”’
Format BenchLab results as a copyable text string (tab-specific copy)
format_stats_for_clipboard πŸ”’
Format stats as a copyable text string
restore_terminal πŸ”’
Restore terminal to normal mode
run_core_latency_bench πŸ”’
Run a core-to-core latency benchmark using atomic ping-pong. Hot loop uses only wrapping_add(1) β€” no multiply or checked add β€” so debug builds don’t inflate measurements with overflow checks. Runs 3 attempts per pair with warmup, takes the minimum.
run_tui
Run the TUI event loop
setup_terminal πŸ”’
Initialize the terminal for TUI mode