OSDN Git Service

simpleperf: add interval to stat print
authorWei Wang <wvw@google.com>
Wed, 28 Sep 2016 21:42:02 +0000 (14:42 -0700)
committerYabin Cui <yabinc@google.com>
Thu, 29 Sep 2016 21:50:34 +0000 (14:50 -0700)
commit539fb885d08f5cdb11b409de776ec567b1bfcc29
treed53d33584e27ae7cb2c37c5d79399a3d9da2ac34
parent1a35848b34d6572a6b65fe50133414b2dcbea92b
simpleperf: add interval to stat print

Add a stat interval printing

Bug: http://b/31806433
Test: simpleperf_unit_test --gtest_filter=stat_cmd.interval_option
Change-Id: Ia2881d990036cc099baccb8a2d8cd3828877a910
(cherry picked from commit e6d8a52400fe710b743ce57b89bd015ab219434b)
simpleperf/cmd_stat.cpp
simpleperf/cmd_stat_test.cpp