From cf765562c771c5a1b06bef65cca7117d35e9f0c6 Mon Sep 17 00:00:00 2001 From: Daniel Hodges Date: Wed, 28 Aug 2024 22:12:07 -0400 Subject: [PATCH] scx_layered: Update docs for layer slice setting Add docs for layer slice setting. Signed-off-by: Daniel Hodges --- scheds/rust/scx_layered/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scheds/rust/scx_layered/src/main.rs b/scheds/rust/scx_layered/src/main.rs index 7bc8194..a156d22 100644 --- a/scheds/rust/scx_layered/src/main.rs +++ b/scheds/rust/scx_layered/src/main.rs @@ -263,6 +263,8 @@ lazy_static::lazy_static! { /// other logical CPUs sharing the same core will be kept idle. This isn't /// a hard guarantee, so don't depend on it for security purposes. /// +/// - slice_us: Scheduling slice duration in microseconds. +/// /// - perf: CPU performance target. 0 means no configuration. A value /// between 1 and 1024 indicates the performance level CPUs running tasks /// in this layer are configured to using scx_bpf_cpuperf_set().