-
Recent Posts
Recent Comments
ali on Oprofile 0.9.6 ——-… Ola on Oprofile 0.9.6 ——-… tran dung on Oprofile 0.9.6 ——-… Jisu on Oprofile 0.9.6 ——-… Sachin Agarwalla on Oprofile 0.9.6 ——-… Archives
- December 2015
- August 2015
- June 2015
- May 2015
- January 2015
- October 2014
- September 2014
- June 2014
- May 2014
- March 2014
- February 2014
- January 2014
- November 2013
- October 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- January 2013
- November 2012
- September 2012
- August 2012
- July 2012
- June 2012
- April 2012
- March 2012
- February 2012
- January 2012
- November 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
Categories
Meta
Monthly Archives: February 2014
Forget Windows7 password
For mac and windows two os devices, if the windows password is forget, we can setup another user account and give it administration power. 1. Install “Paragon NTFS for mac”, so that mac can modify ntfs files, which is used … Continue reading
Posted in Uncategorized
Leave a comment
Change Android cpu freq
To change the cpu freq, first make sure the governor is “userspace”. check it under the /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: # echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor It also shows the available governor in ‘scaling_available_governors’ Then modify the ‘scaling_setspeed’ # echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed Verify: … Continue reading
Posted in Uncategorized
Leave a comment
OLED powertutor code
https://github.com/msg555/PowerTutor/blob/master/src/edu/umich/PowerTutor/components/OLED.java OLED component java file in powertutor source code. Brightness read from “/sys/class/leds/lcd-backlight/brightness”, “/sys/devices/virtual/leds/lcd-backlight/brightness”, “/sys/devices/platform/trout-backlight.0/leds/lcd-backlight/brightness”, Pixel info read from “/dev/fb0” or “/dev/graphics/fb0” Get N random samples Random r = new Random(); samples = new int[NUMBER_OF_SAMPLES]; for(int i = 0; i … Continue reading
Posted in Uncategorized
Leave a comment