Go to file
Jeff Brown 27a852b620 Improve the slow query instrumentation.
On user-debug and eng builds, you can set the
"db.log.slow_query_threshold" system property to queries that
take longer than the specified number of milliseconds.
Set it to 0 to log all queries.

This property has been around for a while but it was implemented
poorly.  In particular, it *changed* the behavior of the query
by calling getCount() while holding the Db connection.
In normal operation, the query will not actually run until later.

By putting the timing logic into fillWindow() instead, we ensure
that we only measure queries that actually ran.  We also capture
cases where the cursor window gets filled multiple times.

Bug: 5520301
Change-Id: I174f5e1ea15831a1d22a36e9a804d7755f230b38
2011-10-28 14:58:39 -07:00
cmds Remove the simulator target from all makefiles. 2011-07-11 22:12:16 -07:00
include Add a LayerScreenshot 2011-10-18 20:21:47 -07:00
libs Improve the slow query instrumentation. 2011-10-28 14:58:39 -07:00
opengl don't log EGL errors due to unimplemented proprietary extensions 2011-10-05 19:15:32 -07:00
services/surfaceflinger CherryPick f9e455 from master to mr0. do not merge. 2011-10-24 13:29:26 -07:00
MODULE_LICENSE_APACHE2
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00