get application power
1.
http://blog.csdn.net/sjz_iron/article/details/8726661
http://www.16rd.com/home.php?mod=space&uid=6514&do=blog&id=82
https://android.googlesource.com/platform/frameworks/base.git/+/master/core/java/com/android/internal/os/PowerProfile.java
http://wenku.baidu.com/view/e087ac244b35eefdc8d33352.html
https://source.android.com/devices/tech/power.html
http://blog.csdn.net/yu8fei/article/details/8965094
http://blog.csdn.net/tianxianbaobao1983/article/details/15337759
http://en.wikipedia.org/wiki/Power_Management_Unit
2.java synchronized() block
http://www.cnblogs.com/gnagwang/archive/2011/02/27/1966606.html
proc filesystem
http://www.blogbus.com/wanderer-zjhit-logs/202903394.html
http://www.kerneltravel.net/?p=281
http://man.chinaunix.net/linux/mandrake/101/zh_cn/Command-Line.html/ch10s01.html
http://blog.csdn.net/fightfordream/article/details/6102132
read process list
http://stackoverflow.com/questions/939778/linux-api-to-list-running-processes
http://linuxlookup.com/howto/view_running_processes_linux_system
http://stackoverflow.com/questions/12574202/view-list-of-running-process-in-linux-using-c
1.parse process list in proc filesystem
2.poll /proc/pid/stat periodly, and get update usr time and system time
3.total time = usr time + system time
4.sort linklist according to total time
5.implement IPC to transfer result to show utility
[questions]
1.not include non-interesting processes, kerenl thread
2.how to deal with child processes of a process
http://blog.csdn.net/trochiluses/article/details/10185951
when read cpufreq stat source code, there is question:
1.per_cpu:
http://challengezcy.blog.163.com/blog/static/692292722010101942154673/
http://hi.baidu.com/leowang715/item/112512cae0d19d10b67a24eb
http://www.blogbus.com/wanderer-zjhit-logs/184800425.html
2.kernel notifier
http://blog.csdn.net/wuhzossibility/article/details/8079025
http://fangjian0518.blog.163.com/blog/static/5591965620118295401816/
get application power的更多相关文章
- Web应用程序与Web网站及部署在IIS中
在Visual Studio可以创建 Web 应用程序项目或网站项目.通过选择 新建项目 或 打开项目 创建或打开一个 Web 应用程序项目在Visual Studio 文件 菜单. 通过选择 新建网 ...
- SQL Server自动化运维系列——监控磁盘剩余空间及SQL Server错误日志(Power Shell)
需求描述 在我们的生产环境中,大部分情况下需要有自己的运维体制,包括自己健康状态的检测等.如果发生异常,需要提前预警的,通知形式一般为发邮件告知. 在所有的自检流程中最基础的一个就是磁盘剩余空间检测. ...
- ModSecurity web application firewall (WAF) Research
catalog . 引言 . OWASP ModSecurity Core Rule Set (CRS) Project . Installation mod_security for Apache ...
- 在SharePoint2010中用out-of-box的方式自定制Application Pages(AccessDenied,Confirmation,Error,Login,RequestAccess,Signout,WebDeleted)
在实际项目中需要对SharePoint2010中的AccessDenied页面进行自定制,于是乎上网搜索相关内容,经实际操作此方法可行,便以此文记录. 在SharePoint2010中,由于secur ...
- 【转】Profiling application LLC cache misses under Linux using Perf Events
转自:http://ariasprado.name/2011/11/30/profiling-application-llc-cache-misses-under-linux-using-perf-e ...
- Creating an API-Centric Web Application[转]
Creating an API-Centric Web Application 转自 http://hub.tutsplus.com/tutorials/creating-an-api-centric ...
- Scott Hanselman's 2014 Ultimate Developer and Power Users Tool List for Windows -摘自网络
Everyone collects utilities, and most folks have a list of a few that they feel are indispensable. ...
- SQL Server自动化运维系列 - 监控磁盘剩余空间及SQL Server错误日志(Power Shell)
需求描述 在我们的生产环境中,大部分情况下需要有自己的运维体制,包括自己健康状态的检测等.如果发生异常,需要提前预警的,通知形式一般为发邮件告知. 在所有的自检流程中最基础的一个就是磁盘剩余空间检测. ...
- Leveraging the Power of Asynchrony in ASP.NET [转]
Asynchronous programming has had a lot of attention in the last couple of years and there are two ke ...
随机推荐
- 使用VC6开发opengl配置
2015-11-09 22:25 VC6中工程创建: (1)创建一个Win32 Console Application.(以我创建的为例,工程名为simpleGL) (2)链接OpenGL li ...
- python pickle 序列化类
python pickle 序列化类 # coding:utf-8 try: import cPickle as pickle except ImportError: import pickle cl ...
- websphere性能调优之dump命令
websphere性能调优之dump命令 基于WebSphere 构建的企业应用,时常会出现性能问题,在严重的情况下还会提示出内存溢出,这是一件很让人恼怒的事情.在WebSphere Applicat ...
- 数据获取以及处理Beta版本展示
产品描述 这个产品的目的是为了学霸网站提供后台数据获取以及处理操作.在alpha阶段基本调通的基础至上,我们希望在bate版本中加入对于问答对的处理,图片的获取等功能. 预期目标 在alpha阶段,我 ...
- eclipse连接mysql,插入数据时乱码
问题:如果eclipse中项目的编码方式为utf-8 插入数据后,在数据库中查看后,汉字出现乱码情况 解决方法: 1.在获取连接的时候将conn = DriverManager.getConnecti ...
- 《java编程思想》读书笔记(一)开篇&第五章(1)
2017 ---新篇章 今天终于找到阅读<java编程思想>这本书方法了,表示打开了一个新世界. 第一章:对象导论 内容不多但也有20页,主要是对整本书的一个概括.因为已经有过完整JAV ...
- android 观察者模式
1:观察者模式: 1:使用场景:一般使用在自定义控件的事件点击监听上面(或者封装方法进行回调) 2:写观察者模式步骤: (1):声明一个接口 (2):接口里面封装一个抽象方法 (3):需要封装一个 ...
- Linux内核@系统组成与内核配置编译
Linux系统由什么组成? 由用户空间(应用程序+GNU C标准库)和内核空间(系统调用接口+内核+内核架构代码)组成. Linux内核到底是什么?以及组成. ARM的七种操作级别? 内核网络协议栈( ...
- android 学习资源总结
http://android-arsenal.com/free 国外的android分类资源网站 http://www.ibm.com/developerworks/cn/topics/ IB ...
- C语言字符串操作总结大全(超详细)
本篇文章是对C语言字符串操作进行了详细的总结分析,需要的朋友参考下 1)字符串操作 strcpy(p, p1) 复制字符串 strncpy(p, p1, n) 复制指定长度字符串 strcat( ...