![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kernel
文章平均质量分 92
liglei
这个作者很懒,什么都没留下…
展开
-
[ltp][eas]测试用例解析
eas_one_small_task setup阶段:configure and enable tracing(/sys/kernel/tracing): 分析解析后的trace 加载trace,并按定义的结构体struct trace_record{}格式进行解析 echo 0 > tracing_on //disable tracing 创建一个while(1) task eas_one_small_t,每sleep 1ms起来...原创 2020-12-04 16:47:26 · 1286 阅读 · 0 评论 -
schedtune
sugov_get_util\--> boosted_cpu_util \--> schedtune_cpu_margin(util, cpu) \-->schedtune_cpu_boost schedtune_margin(util, boost) trace_sched_boost_cpu(cpu, util, margin)select_idle_sibling_cs...原创 2020-12-02 09:29:33 · 601 阅读 · 0 评论 -
[ltp][eas]eas_big_to_small.c
测试用例图示测试用例源码1 /* 2 * Copyright (c) 2018 Google, Inc. 3 * 4 * SPDX-License-Identifier: GPL-2.0-or-later 5 * 6 * Task starts out as a CPU hog and then becomes small. 7 * Task placement and downmigration latency are verified. 8 *...原创 2020-10-27 15:41:17 · 329 阅读 · 0 评论 -
eas k5.4 (一):v5.4 - Patch-set sched:fair: Reduce complexity of energy calculation
pending原创 2020-04-09 13:41:46 · 544 阅读 · 0 评论 -
kernel5.4 schedutil
主要结构体原创 2020-02-28 13:45:30 · 542 阅读 · 1 评论 -
eas k5.4 (三):v5.3 - Tracepoints (PELT and over-utilzation)
https://lore.kernel.org/lkml/20190604111459.2862-6-qais.yousef@arm.com/a056a5b sched/debug: Export the newly added tracepointsf9f240f sched/debug: Add sched_overutilized tracepoint8de6242 sched/de...原创 2020-01-17 16:57:53 · 225 阅读 · 0 评论 -
CPU-PnP工具(一): cpu_loading
(一)简介:测试前取/sys/devices/system/cpu/cpufreq/policy4/stats/time_in_state(个cpu频点及运行时间: Documentation/cpu-freq/cpufreq-stats.txt)和/proc/stat(各cpu不同state的时间)数据,测试开始,测试程序sleep指定的测试时间,测试结束,再次获取测试结束时的节点数据,进行...原创 2019-11-21 17:02:04 · 1211 阅读 · 1 评论 -
util变频
在sugov初始化时注册回调函数,到update_util_data中 797 static int sugov_start(struct cpufreq_policy *policy) {823 for_each_cpu(cpu, policy->cpus) {824 struct sugov_cpu *sg_cpu = &per_cpu(su...原创 2019-03-18 16:43:48 · 1005 阅读 · 0 评论 -
ltp
现在sync到google最新的ltp git,使用mmm编译:mmm external/ltp会因为aio编译失败报错,因此选择单独build需要的test case。sync google ltp git: sprdroid9.0/external/ltp$git remote add google_ltphttps://android.googlesource.co...原创 2019-04-18 15:17:26 · 524 阅读 · 0 评论 -
git.repo
查看两个manifest之间的差异:1. 建立对应的repo branch2.repo forall -pc git log --oneline branchA...branchB -p: 显示project name -c:执行之后的git 命令解决patch冲突git am *.patchgit apply --reject *.patchvim *.rej...原创 2019-05-22 16:55:18 · 745 阅读 · 0 评论 -
调度器 schedule pelt 介绍
进程类型 交互是进程:人机交互进程,如鼠标键盘,触摸屏,系统响应越快越好 批处理进程:占用较多系统资源,如编译代码 实时进程:对延时有严格要求 调度策略与调度器 用户进程的调度策略 调度器 SCHED_NORMAL cfs SCHED_BATCH cfs SCHED_FIFO realtime SCHED_RR realtime SCHED_...原创 2018-09-29 14:14:00 · 3831 阅读 · 0 评论