Mobile/Fennec/Android/Profiling: Difference between revisions

Line 146: Line 146:
  adb shell mount -o remount,ro /system
  adb shell mount -o remount,ro /system


The sample rate is (CPU freuqency in MHz) / (CPU_CYCLES count) / 64. For the HTC G2, it's 800MHz / 100000 / 64 = 125 samples per second.
The sample rate is (CPU freuqency in MHz) / (CPU_CYCLES count) / 64. For the HTC G2, it's 800MHz / 125000 / 64 = 100 samples per second.


== Using ''oprofile'' on CyanogenMod 7 ==
== Using ''oprofile'' on CyanogenMod 7 ==
Confirmed users
507

edits