• Dmitry Skiba's avatar
    Overhaul MemoryUma and report pressure from services. · 2153a8d7
    Dmitry Skiba authored
    MemoryUma class reports 3 memory pressure related metrics, but there
    are issues with them (see the bug), plus metrics are reported only for
    the browser process.
    
    We need memory pressure metrics for services too, in order to decide
    best ways of handling low memory situations.
    
    This CL deprecates the following metrics:
    
    * MemoryAndroid.NotificationBackground
    * MemoryAndroid.NotificationForeground
    * MemoryAndroid.LowMemoryTimeBetween
    
    and adds reporting of the following new metrics:
    
    * Android.MemoryPressureNotification.Browser
    * Android.MemoryPressureNotification.ChildService
    
    Bug: 834529
    Change-Id: If859958ce7adeeb6431f890dea2ffd7a3de8a4f1
    Reviewed-on: https://chromium-review.googlesource.com/1013077
    Commit-Queue: Dmitry Skiba <dskiba@chromium.org>
    Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
    Reviewed-by: default avatarMark Pearson <mpearson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#553658}
    2153a8d7
histograms.xml 4.2 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.