Skip to main content

Module top

Module top 

Source
Expand description

Top command with Ratatui no_std backend.

This command keeps Chevron shell as default UX and only uses Ratatui while top is running.

Modulesยง

ratatui_backend ๐Ÿ”’

Structsยง

CpuUsageWindow ๐Ÿ”’
SchedulerMetricsWindow ๐Ÿ”’
SiloRowData ๐Ÿ”’
StrateRowData ๐Ÿ”’
TaskRowData ๐Ÿ”’
TopSnapshot ๐Ÿ”’

Constantsยง

MAX_CPU_GAUGES ๐Ÿ”’
TOP_REFRESH_TICKS ๐Ÿ”’

Functionsยง

cmd_top
Top command main loop
collect_silos_from_proc_scheme ๐Ÿ”’
collect_snapshot ๐Ÿ”’
Performs the collect snapshot operation.
compute_cpu_usage_window ๐Ÿ”’
Performs the compute cpu usage window operation.
compute_scheduler_metrics_window ๐Ÿ”’
Performs the compute scheduler metrics window operation.
scheduler_runtime_lines ๐Ÿ”’
Performs the scheduler runtime lines operation.