• Yue Ru Sun's avatar
    Log the relative size of non-UKM data in uploaded reports · f4c09c85
    Yue Ru Sun authored
    This patch adds the logging of the ratio X/Y where
    
    X is the size of serialized report with all UKM data omitted
    Y is the size of the serialized full report
    
    as a percentage to the UMA histogram UKM.ReportSize.NonUkmPercentage.
    
    This is to provide us an estimate on how much of the bandwidth usage
    is taken up by UKM data and non-UKM data. (Hopefully the non-UKM part is
    small enough and has negligible influence on overall bandwidth usage.)
    
    Change-Id: Ic73349e19736d326b3a585608afec07a855a2687
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491423Reviewed-by: default avatarRobert Kaplow <rkaplow@chromium.org>
    Commit-Queue: Yue Ru Sun <yrsun@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#821251}
    f4c09c85
reporting_service.cc 7.23 KB