Skip to content

supports/ticks: read cpufreq from sysfs/procfs - #42

Merged
minwooim merged 1 commit into
SamsungDS:mainfrom
minwooim:read-cpufreq-sys
Aug 14, 2025
Merged

supports/ticks: read cpufreq from sysfs/procfs#42
minwooim merged 1 commit into
SamsungDS:mainfrom
minwooim:read-cpufreq-sys

Conversation

@minwooim

@minwooim minwooim commented Aug 8, 2025

Copy link
Copy Markdown
Collaborator

Rather than directly measuring CPU freq. for 100ms which might delays application launch time, read CPU freq. from sysfs first from cpufreq if enabled, if fails, give second chance reading procfs /proc/cpuinfo and read the freq from there.

Rather than directly measuring CPU freq. for 100ms which might delays
application launch time, read CPU freq. from sysfs first from `cpufreq`
if enabled, if fails, give second chance reading procfs /proc/cpuinfo
and read the freq from there.

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
@birkelund birkelund added the approved Approved for device testing label Aug 13, 2025
@birkelund

Copy link
Copy Markdown
Collaborator

LGTM.

@minwooim
minwooim merged commit 442d094 into SamsungDS:main Aug 14, 2025
24 of 25 checks passed
iomartin added a commit to Eideticom/libvfn-pub that referenced this pull request Aug 17, 2026
Decrease log level for some init functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved for device testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants