• Changwan Ryu's avatar
    Add record_options to run_simpleperf · f2ed9f80
    Changwan Ryu authored
    You can set frequency, duration, recording method, among other things in
    record_options. Especially, frequency seems makes some difference
    in terms of coverage and accuracy.
    
    Alternative considered: exposing frequency, duration, recording method
    separately. There are many other options for record_options, so adding
    numerous args would make it too complicated.
    
    Bug: 1015236
    Change-Id: I081e95a7f02a3d54dba3b5a0f55291deb309b4bd
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1946019Reviewed-by: default avatarOksana Zhuravlova <oksamyt@chromium.org>
    Commit-Queue: Changwan Ryu <changwan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#720749}
    f2ed9f80
run_simpleperf.py 10.2 KB