[ONE Android Development] DerRomtester:
[MENTION=4732904]abhi08638[/MENTION] i have uploaded the necessary files for you.

the path is /sys/devices/system/cpu/cpuquiet/

(ps. i have uploaded the cpuquiet folder for you with all the necessary files in it https://www.androidfilehost.com/?fid=24052804347780216)

CPUQUIET governor

/sys/devices/system/cpu/cpuquiet/current_governor

balanced

runnable

rq_stats

load_stats

available governors are inside that file:

/sys/devices/system/cpu/cpuquiet/available_governors

Enable/Disable cpuquiet:

/sys/devices/system/cpu/cpuquiet/cpuquiet_driver/enabled

0 = disabled

1 = enabled

Enable/Disable manual hotplug

/sys/devices/system/cpu/cpuquiet/cpuquiet_driver/manual_hotplug

0 = disabled

1 = enabled

Log Hotplugging (for developers)

/sys/devices/system/cpu/cpuquiet/cpuquiet_driver/log_hotplugging

0 = disabled

1 = enabled

Maximum CPUs running

/sys/devices/system/cpu/cpuquiet/cpuquiet_driver/max_cpus

1 2 3 or 4 cores

Minimum CPUs running

/sys/devices/system/cpu/cpuquiet/cpuquiet_driver/min_cpus

1 2 3 or 4 cores

Maximum CPUs running when screen is offline

/sys/devices/system/cpu/cpuquiet/cpuquiet_driver/screen_off_max_cpus

1 2 3 or 4 cores

I think we must set a frequency here. Set highest cpu frequency that the cpu is reaching when the screen is offline

/sys/devices/system/cpu/cpuquiet/cpuquiet_driver/screen_off_cap

(i think they are only availbe if we use rq_stats governor)

Number of CPUs that are boosted at the same time

/sys/devices/system/cpu/cpuquiet/rq_stats/input_boost_cpus

1

2

3

4

cores

Interval the CPUs are kept online when they are boosted

/sys/devices/system/cpu/cpuquiet/rq_stats/input_boost_duration

Enable/Disable input boost

/sys/devices/system/cpu/cpuquiet/rq_stats/input_boost_enabled

Log Hotplugging (rq stats governor)

/sys/devices/system/cpu/cpuquiet/rq_stats/log_hotplugging

0 = disabled

1 = enabled

( i don't know yet)

/sys/devices/system/cpu/cpuquiet/rq_stats/nwns_threshold "20 14 26 16 30 18 0 20"

Sample rate ( i dont know)

curent value 50

/sys/devices/system/cpu/cpuquiet/rq_stats/sample_rate

twts threshold (i dont know)

/sys/devices/system/cpu/cpuquiet/rq_stats/twts_threshold 50 0 50 50 50 50 0 50

Maybe someone else knows more about it.

Here is a small part of the KCONFIG:

I don't know if you need that but this is also helpful.

config CPUQUIET_FRAMEWORK

bool "Cpuquiet framework"

help

Cpuquiet implements pluggable policies for forcing cpu cores into a

quiescent state. Appropriate policies will save power without hurting

performance.

if CPUQUIET_FRAMEWORK

choice

prompt "Default CPUQuiet governor"

help

This option sets which CPUQuiet governor shall be loaded at

startup. If in doubt, select 'balanced'

config CPUQUIET_DEFAULT_GOV_BALANCED

bool "balanced"

select CPUQUIET_GOVERNOR_BALANCED

depends on CPU_FREQ

help

Use the CPUQuiet governor 'balanced' as default. This dynamically

scales the number of cpus online in the system based on the cpu

load

config CPUQUIET_DEFAULT_GOV_RUNNABLE

bool "runnable"

select CPUQUIET_GOVERNOR_RUNNABLE

help

Use the CPUQuiet governor 'runnable' as default. This uses

the number of running threads ato scale the number of cpus

online in the system

config CPUQUIET_DEFAULT_GOV_RQ_STATS

bool "rq_stats"

select CPUQUIET_GOVERNOR_RQ_STATS

help

Use the CPUQuiet governor 'rq_stats' as default. This uses

rq information to scale the number of cpus online in the system

config CPUQUIET_DEFAULT_GOV_LOAD_STATS

bool "load_stats"

select CPUQUIET_GOVERNOR_LOAD_STATS

help

Use the CPUQuiet governor 'load_stats' as default

endchoice