From d4bc92bea7d12fa17e7f5fc9ffa7191f136836c4 Mon Sep 17 00:00:00 2001 From: Changwoo Min Date: Fri, 12 Jul 2024 13:23:56 +0900 Subject: [PATCH] scx_lavd: print lat_cri to output Signed-off-by: Changwoo Min --- scheds/rust/scx_lavd/src/main.rs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/scheds/rust/scx_lavd/src/main.rs b/scheds/rust/scx_lavd/src/main.rs index 7f1f933..43c1bc9 100644 --- a/scheds/rust/scx_lavd/src/main.rs +++ b/scheds/rust/scx_lavd/src/main.rs @@ -192,11 +192,11 @@ impl<'a> Scheduler<'a> { "| {:6} | {:7} | {:17} \ | {:4} | {:4} | {:9} \ | {:6} | {:8} | {:7} \ - | {:8} | {:7} | {:8} \ - | {:7} | {:9} | {:9} \ - | {:9} | {:9} | {:8} \ + | {:8} | {:4} | {:7} \ + | {:8} | {:7} | {:9} \ + | {:9} | {:9} | {:9} \ | {:8} | {:8} | {:8} \ - | {:6} | {:6} |", + | {:8} | {:6} | {:6} |", "mseq", "pid", "comm", @@ -207,6 +207,7 @@ impl<'a> Scheduler<'a> { "slc_ns", "grdy_rt", "lat_prio", + "lc", "avg_lc", "st_prio", "slc_bst", @@ -231,11 +232,11 @@ impl<'a> Scheduler<'a> { "| {:6} | {:7} | {:17} \ | {:4} | {:4} | {:9} \ | {:6} | {:8} | {:7} \ - | {:8} | {:7} | {:8} \ - | {:7} | {:9} | {:9} \ - | {:9} | {:9} | {:8} \ + | {:8} | {:4} | {:7} \ + | {:8} | {:7} | {:9} \ + | {:9} | {:9} | {:9} \ | {:8} | {:8} | {:8} \ - | {:6} | {:6} |", + | {:8} | {:6} | {:6} |", mseq, tx.pid, tx_comm, @@ -246,6 +247,7 @@ impl<'a> Scheduler<'a> { tc.slice_ns, tc.greedy_ratio, tc.lat_prio, + tc.lat_cri, tx.avg_lat_cri, tx.static_prio, tc.slice_boost_prio,