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 ...
随机推荐
- (转) Spring框架笔记(二十五)——NamedParameterJdbcTemplate与具名参数(转)
在经典的 JDBC 用法中, SQL 参数是用占位符 ? 表示,并且受到位置的限制. 定位参数的问题在于, 一旦参数的顺序发生变化, 就必须改变参数绑定. 在 Spring JDBC 框架中, 绑定 ...
- tabelView右滑选择进行删除
如何使用UITableViewRowAction实现右滑选择呢? 1.在iOS8以前,我们实现tableview中滑动显示删除,置顶,更多等等的按钮时,都需要自己去实现,在iOS8中系统已经写好了,只 ...
- h5调用摄像头
<!DOCTYPE html><html lang="zh-CN"><head> <meta charset="UTF-8&qu ...
- JQuery 阻止js事件冒泡 阻止浏览器默认操作
//阻止事件冒泡 event.stopPropagation(); //阻止浏览器默认操作 event.preventDefault(); 代码不一定能执行,写给自己看的. 事件冒泡: <a h ...
- 关于C#操作数据库ExecuteNonQuery()的返回值问题
) { retValue = AccessCon.ExecuteSql(sql = "update salesData set sellingPrize='" + man.Sell ...
- LeetCode 【Single Number I II III】
Given an array of integers, every element appears twice except for one. Find that single one. 思路: 最经 ...
- ListView的属性及方法详解
本文转载于:http://blog.csdn.net/vector_yi/article/details/23195411 近期在重新学习Android控件知识,目前进行到ListView,感觉这是一 ...
- AT指令获取基站信息
AT+CREG 网络注册和漫游 命令发送(command): AT+CREG=<mode> 命令响应(Response): +CREG :<mode&g ...
- electron知识点
1.打开chrome开发工具栏: BrowserWindow.openDevTools();
- 警告:隐式声明与内建函数'exit'不兼容解决方案
警告:隐式声明与内建函数'exit'不兼容解决方案 #include <stdio.h> int main() { printf("hello world!/n"); ...