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 ...
随机推荐
- nginx-1.7.9快速启动连接手机测移动端页面
大家好,本人之前用nginx熟熟的,后来一段时间不用,当今天再次想使用的时候,发现,悲催的是,竟然忘记怎么用了!噢噢,于是乎,就从网上搜索怎样让nginx和移动端页面联系在一起测试. 可惜的是,我搜索 ...
- 4.Rabbits and Recurrence Relations
Problem A sequence is an ordered collection of objects (usually numbers), which are allowed to repea ...
- 【jQuery plug-in】DataTables
1. DOM Position dataTableOption.dom = '<"top"<"pull-left"l><"pu ...
- kuangbin_SegTree D (POJ 2528)
讲道理我之前暂时跳过染色的题是因为总觉得有什么很高端的算法来query 直到我做了F题(ZOJ 1610)才发现就是个暴力统计.....也对 也就几万个长度单位而已.... F就不po上来了 选了有点 ...
- winfrom自定义控件
c#TabControl控件左边选项卡左边显示,文字横向显示 http://blog.csdn.net/kasama1953/article/details/52133713 WinForm中,给Te ...
- 自定义windows新建菜单
注册表下找到hkey_classes_root 找到想要新建的文件扩展名(.txt,.php,.html,.xml etc.) 创建名为ShellNew的键,再在其下添加NullType的项
- c#-1 数据结构 定义相关 界面交互数据 Model层
1.时间用Nullable<UInt32> 除了最初时间用DateTime TimeSpan不行. 2.其他元素也用Nullable<UInt32> 3.list集合数据绑定类 ...
- 使用 openssl 生成证书
一.openssl 简介 目前最流行的 SSL 密码库工具官网:https://www.openssl.org/source/ 构成部分 密码算法库 密钥和证书封装管理功能 SSL通信API接口 用途 ...
- Google副总裁的管理经验
一.拥挤其实是创新.拥挤喧闹的工作环境会引燃更多的创意火花.办公室应该充满能量和互动,而不是条块分割和等级分化. 二.战略和策略并举.许多人不懂得战略和策略的区别,或者他们认为自己只需要其中一样,其实 ...
- ubuntu包管理
查看某个文件属于哪个包dpkg -S add-apt-repository 包名software-properties-common命令名/usr/bin/add-apt-repository/usr ...