commit | d72f718c9cc4bd5e4701f4c5cdab51b4d8cf6435 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Thu Feb 11 17:07:51 2010 -0800 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Thu Feb 11 17:07:51 2010 -0800 |
tree | 9bf884e3331c2b8aa09cbb0921099bac12dcc8e6 | |
parent | 28a5dc229ed25c771cde25668928edc788073029 [diff] |
Measure walltime in ContentResolver and SQLiteDatabase operations logging. Previously, SQLiteDatabase was using Debug.threadCpuTimeNanos(), which doesn't include I/O time (user-perceived latency), and ContentResolver was using System.currentTimeMillis(), which didn't account for deep sleeps. Now both are consistently using SystemClock.uptimeMillis().