• Jesse McKenna's avatar
    IdleWakeups: optionally print tab-delimited output · 8cebadc8
    Jesse McKenna authored
    This change adds command-line flag `--tabbed` to IdleWakeups.
    
    This flag makes IdleWakeups print its final summary only, in
    tab-delimited format. Intermediate measurements and other
    informational messages are skipped. This is useful for copying or
    piping IdleWakeups' output to a spreadsheet for sharing and/or further
    analysis, e.g., using clip:
    `idlewakeups.exe --tabbed --stop-on-exit | clip`.
    
    The tab-delimited output contains the following columns:
    * Processes created
    * Processes destroyed
    * Context switches/sec, average
    * CPU usage (%), average
    * CPU usage (s)
    * Private working set (MiB), average
    * Power (W), average
    
    Change-Id: Ie269737950eb0d6e183a89c8bef225c7790d257e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2468777Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
    Commit-Queue: Jesse McKenna <jessemckenna@google.com>
    Cr-Commit-Position: refs/heads/master@{#818254}
    8cebadc8
README.md 1.67 KB