Skip to content

Tools-cx-app/SimpleScheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleScheduler

简介

是一个运行在用户态的调度器实现

  • 什么是SimpleScheduler?

    • SimpleScheduler是一个运行在用户态的调度器实现 支持配置不同的调度模式和分应用进行调度切换

自定义(配置)

  • 配置路径: /data/adb/SimpleScheduler/config.toml

  • 参数(config)说明:

    • config
      • general: 代表默认情况下应用使用的模式
        • 可选的值有:powersave,balanceperformance
      • powersave: 代表使用powersave模式的应用列表 在数组中按照字符串形式提供包名
        • 示例: powersave = ["com.example.app1,"com.example.app2"]
      • balanceperformance字段的配置规则与powersave字段相同
    • freqs
      • general: 该字段无意义
      • powersave: 使用一个具有两个元素的数组来表示当前模式(powersave)下的最大和最小频率 ,允许使用Mhz和Khz
        • 例如powersave = [1000,1000]
      • balanceperformance字段的配置规则与powersave字段相同
    • governors
      • 指定每个模式使用的内核governor模式
      • 如果没有必要 建议保持"walt"即可
      • 也许可以通过将这项的值设置为scx来启用风驰调速器?

鸣谢

About

A Simple Scheduler for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •