sql: Use 64-bit integers to collect SQLite memory usage.
The MemoryDumpProvider API uses 64-bit integers. For consistency, use SQLite's 64-bit API (sqlite_status64) to obtain memory usage statistics from SQLite. This CL also documents the SQLite build configuration setting assumed by the memory usage reporting code. The value needed by the memory reporting code is (currently) the default. However, the SQLite docs [1] recommend a different value, so documenting our needs makes it less likely that we'll accidentally end up with an incorrect configuration. Change-Id: I15217e11bce8d167dce65db345ddf78d21148144 Reviewed-on: https://chromium-review.googlesource.com/1146293Reviewed-by:Chris Mumford <cmumford@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#577260}
Showing
Please register or sign in to comment