Stacer icon indicating copy to clipboard operation
Stacer copied to clipboard

cpu speed not shown in ubuntu 20.04

Open armin-git opened this issue 3 years ago • 3 comments

my cpu is 12700 intel why cpu speed is unknown? Screenshot from 2022-08-26 14-57-51

armin-git avatar Aug 26 '22 10:08 armin-git

i think i found why this happened in this file system_info.cpp: https://github.com/oguzhaninan/Stacer/blob/native/stacer-core/Info/system_info.cpp

you run lscpu command and split "model name" string by @ and get the last part of string that contain the cpu speed for example i have intel i7-9700 and this is lscpu result

Screenshot from 2022-08-27 09-33-56

and the cpu speed in stacer dashboard: Screenshot from 2022-08-27 14-27-22

but intel 12700 "model name", when run lscpu command, does not contain cpu speed,

Screenshot from 2022-08-27 14-33-21

therefore the cpu speed in stacer show as unknown Screenshot from 2022-08-27 14-34-54

armin-git avatar Aug 27 '22 10:08 armin-git

please put this issue to your plan for fixing thank you

armin-git avatar Aug 27 '22 10:08 armin-git

@armin-git so what would be the right way to get the cpu speed? maybe post an issue at lscpu project, that they are not consistently showing cpu speed?

alexmyczko avatar Sep 27 '22 09:09 alexmyczko