Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scx_lavd: improve --help-stats option #783

Open
multics69 opened this issue Oct 11, 2024 · 0 comments
Open

scx_lavd: improve --help-stats option #783

multics69 opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed rust Rust language scx_lavd

Comments

@multics69
Copy link
Contributor

Currently "--help-stats" prints only the the description of SysStats.
It should prints also SchedSample defined in stats.rs

$>scx_lavd  --help-stats                                                                                                                                                                                                                                                     
[SysStats]
  avg_svc_time   (u64)    : Average runtime per schedule
  mseq           (u64)    : Sequence ID of this messge
  nr_active      (u64)    : Number of active CPUs when core compaction is enabled
  nr_queued_task (u64)    : Number of runnable tasks in runqueues
  nr_sched       (u64)    : Number of context switches
  pc_balanced    (float)  : % of balanced mode
  pc_big         (float)  : % of tasks scheduled on big cores
  pc_greedy      (float)  : % of greedy tasks
  pc_lc          (float)  : % of latency-critical tasks
  pc_lc_on_big   (float)  : % of latency-critical tasks scheduled on big cores
  pc_lhp         (float)  : % lock holder preemption
  pc_migration   (float)  : % of task migration
  pc_pc          (float)  : % of performance-critical tasks
  pc_pc_on_big   (float)  : % of performance-critical tasks scheduled on big cores
  pc_performance (float)  : % of performance mode
  pc_powersave   (float)  : % of powersave powersave
  pc_preemption  (float)  : % of task preemption
  power_mode     (string) : Current power mode

@multics69 multics69 added good first issue Good for newcomers help wanted Extra attention is needed rust Rust language scx_lavd enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed rust Rust language scx_lavd
Projects
None yet
Development

No branches or pull requests

1 participant