diff options
| author | Vito Caputo <vcaputo@pengaru.com> | 2026-09-14 18:47:05 -0700 |
|---|---|---|
| committer | Vito Caputo <vcaputo@pengaru.com> | 2026-09-14 18:47:05 -0700 |
| commit | 60d416a88369fb97d59a22f67c5fa17440461d43 (patch) | |
| tree | c5b1be7baaedfbcfd6416e53fc6ef37d11628109 | |
| parent | f1889327a49f23d3d4c2bf4d0fa8293ba157bdb6 (diff) | |
charts: fix trivial substitution miss
s/softirq/irq/ in copied case, this was causing the numeric IRQ
duration in the text label to always reflect the SoftIRQ
duration.
| -rw-r--r-- | src/charts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charts.c b/src/charts.c index 2196201..4323539 100644 --- a/src/charts.c +++ b/src/charts.c @@ -728,7 +728,7 @@ static void draw_row_columns(vwm_charts_t *charts, vwm_chart_t *chart, vwm_row_c break; case VWM_COLUMN_SYS_IRQ: /* Sys-wide (hard)IRQ CPU time */ str_len = snpf(str, sizeof(str), "IRQ: %'.2fs", - (float)sys_stat->softirq * charts->inv_ticks_per_sec); + (float)sys_stat->irq * charts->inv_ticks_per_sec); break; case VWM_COLUMN_PROC_USER: /* User CPU time */ |
