• Victor Costan's avatar
    sql: Use 64-bit integers to collect SQLite memory usage. · ccc76472
    Victor Costan authored
    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: default avatarChris Mumford <cmumford@chromium.org>
    Commit-Queue: Victor Costan <pwnall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577260}
    ccc76472
BUILD.gn 11.3 KB