上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 81 下一页

2021年11月30日

内存管理-31-系统内存统计-5-procrank与procmem

摘要: 一、VSS/RSS/PSS/USS的区别 1. VSS Virtual Set Size 虚拟耗用内存(包含共享库占用的内存)VSS表示一个进程可访问的全部内存地址空间的大小。这个大小包括了进程已经申请但尚未使用的内存空间。在实际中很少用这种方式来表示进程占用内存的情况,用它来表示单个进程的内存使用 阅读全文

posted @ 2021-11-30 20:07 Hello-World3 阅读(2658) 评论(0) 推荐(0)

2021年11月24日

Linux Thermal 学习笔记

摘要: 一、thermal 模块简介 1. 核心为 thermal_core。可以获取温度的设备抽象为 thermal_zone_device, 如Temp Sensor、NTC(板上的热敏电阻)等。控制温度的设备抽象为 thermal_cooling_device, 如风扇、CPU、DDR、GPU等。温控 阅读全文

posted @ 2021-11-24 21:08 Hello-World3 阅读(11755) 评论(0) 推荐(1)

2021年11月20日

HIDL学习笔记_3

摘要: HIDL系列四 绑定式的案例及理解(多篇): https://chendongqi.me/2019/09/08/hidl-binderizd/Android Treble 架构下的HIDL:https://ruleizhou.github.io/2019/07/25/Android-Treble-% 阅读全文

posted @ 2021-11-20 14:37 Hello-World3 阅读(293) 评论(0) 推荐(0)

2021年11月19日

mtrace分析内存泄漏

摘要: 1. 测试程序 #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/time.h> #include <mcheck.h> static void memory_leak_test() { char *p 阅读全文

posted @ 2021-11-19 16:05 Hello-World3 阅读(168) 评论(0) 推荐(0)

2021年11月7日

tracer ftrace笔记(3)——宏展开和hook和注册——lengency

摘要: 一、ftrace的宏 1. struct tracepoint 结构 使用 struct tracepoint 变量来描述一个 trace point。 //include/linux/tracepoint-defs.h struct tracepoint { const char *name; / 阅读全文

posted @ 2021-11-07 23:15 Hello-World3 阅读(3884) 评论(0) 推荐(0)

2021年11月3日

prctl系统调用设置进程名

摘要: 1. prctl 系统调用函数 $ man 2 prctl //prctl - operations on a process //#include <sys/prctl.h> int prctl(int option, unsigned long arg2, unsigned long arg3, 阅读全文

posted @ 2021-11-03 22:58 Hello-World3 阅读(1417) 评论(0) 推荐(0)

2021年11月1日

Java 中的 super 关键字

摘要: 1. 使用 super 可以从子类中调用父类的构造方法、普通方法、访问父类属性。与 this 调用构造方法的要求一样,语句必须放在子类的构造方法的首行。 2. 访问属性、调用普通方法、调用构造方法 this 与 super 的区别(1) 访问属性:this 访问本类中的属性,如果本类中没有此属性,则 阅读全文

posted @ 2021-11-01 00:16 Hello-World3 阅读(265) 评论(0) 推荐(0)

2021年10月24日

调度器12—PELT算法中的预估利用率 util_est

摘要: 基于MTK Linux-4.14 一、PELT 中预估利用率简介 由于在 PELT 算法下任务的 util 增加减少的都比较慢,对于长时间休眠后的重负载任务,其 util 增加的比较慢,导致不能及时触发提频和迁核。为了补救 PELT 的这一缺陷,引入了预估负载。在任务(休眠)出队列时更新任务的预估负 阅读全文

posted @ 2021-10-24 18:56 Hello-World3 阅读(1392) 评论(0) 推荐(0)

调度器11—调度相关trace汇总—MTK

摘要: 基于MTK Linux-4.14 1. sched_util ——负载调频 打印: RenderThread-2837 [006] d.h2 8163.520041: sched_util: cid=1 next=1624000 last_freq_update_time=8163524121923 阅读全文

posted @ 2021-10-24 18:48 Hello-World3 阅读(2934) 评论(0) 推荐(0)

2021年10月21日

调度器9—调度相关trace汇总—Qcom

摘要: 1. sched_find_best_target 打印: cat-32758 [001] d..4 5235.529561: sched_find_best_target: pid=18090 comm=kworker/u16:25 start_cpu=0 best_idle=-1 most_sp 阅读全文

posted @ 2021-10-21 22:57 Hello-World3 阅读(1676) 评论(0) 推荐(0)

上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 81 下一页

导航