Package android.database.sqlite
Class SQLiteDebug.PagerStats
- java.lang.Object
-
- android.database.sqlite.SQLiteDebug.PagerStats
-
- Enclosing class:
- SQLiteDebug
public static class SQLiteDebug.PagerStats extends Object
Contains statistics about the active pagers in the current process.
-
-
Field Summary
Fields Modifier and Type Field Description ArrayList<SQLiteDebug.DbStats>dbStatsa list ofSQLiteDebug.DbStats- one for each main database opened by the applications running on the android deviceintlargestMemAllocrecords the largest memory allocation request handed to sqlite3.intmemoryUsedthe current amount of memory checked out by sqlite using sqlite3_malloc().intpageCacheOverflowthe number of bytes of page cache allocation which could not be sattisfied by the SQLITE_CONFIG_PAGECACHE buffer and where forced to overflow to sqlite3_malloc().
-
Constructor Summary
Constructors Constructor Description PagerStats()
-
-
-
Field Detail
-
memoryUsed
public int memoryUsed
the current amount of memory checked out by sqlite using sqlite3_malloc(). documented at http://www.sqlite.org/c3ref/c_status_malloc_size.html
-
pageCacheOverflow
public int pageCacheOverflow
the number of bytes of page cache allocation which could not be sattisfied by the SQLITE_CONFIG_PAGECACHE buffer and where forced to overflow to sqlite3_malloc(). The returned value includes allocations that overflowed because they where too large (they were larger than the "sz" parameter to SQLITE_CONFIG_PAGECACHE) and allocations that overflowed because no space was left in the page cache. documented at http://www.sqlite.org/c3ref/c_status_malloc_size.html
-
largestMemAlloc
public int largestMemAlloc
records the largest memory allocation request handed to sqlite3. documented at http://www.sqlite.org/c3ref/c_status_malloc_size.html
-
dbStats
public ArrayList<SQLiteDebug.DbStats> dbStats
a list ofSQLiteDebug.DbStats- one for each main database opened by the applications running on the android device
-
-