fps and cpu measurements in SurfaceFlinger

621 views
Skip to first unread message

Magnus

unread,
May 12, 2009, 4:27:26 AM5/12/09
to android-platform
Hi,

In SurfaceFlinger there are some debug code regarding fps and cpu
sampling.

Two questions:

1. I have set the corresponding properties in the "on boot" section in
the init.rc file to enable it

setprop debug.sf.showfps 1
setprop debug.sf.showcpu 1

but they do not have any effect. If I search the logs the for message
indicating that the debugging is enabled I find nothing (and I do not
get any graphical feedback from the CPUGauge class).

2. The fps is calculated but never used...or am i missing something
fundamental here?

/Magnus
Reply all
Reply to author
Forward
0 new messages