Skip to content

Commit

Permalink
[CLI] Aggregate ratios before printing System Information
Browse files Browse the repository at this point in the history
  • Loading branch information
cyring committed Feb 18, 2024
1 parent 1da593f commit 307e9a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions aarch64/corefreq-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -17035,6 +17035,7 @@ int main(int argc, char *argv[])
{
Window tty = {.matrix.size.wth = 4};

AggregateRatio();
reason = SysInfoProc(NULL, 80, NULL, NULL);
if (IS_REASON_SUCCESSFUL(reason) == 0) { break; }

Expand Down
1 change: 1 addition & 0 deletions x86_64/corefreq-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -22102,6 +22102,7 @@ int main(int argc, char *argv[])
{
Window tty = {.matrix.size.wth = 4};

AggregateRatio();
reason = SysInfoProc(NULL, 80, NULL, NULL);
if (IS_REASON_SUCCESSFUL(reason) == 0) { break; }

Expand Down

0 comments on commit 307e9a8

Please sign in to comment.