Searched refs:StatCmd (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_stat_test.cpp | 34 static std::unique_ptr<Command> StatCmd() { in StatCmd() function 39 ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); in TEST() 43 ASSERT_TRUE(StatCmd()->Run({"-e", "cpu-clock,task-clock", "sleep", "1"})); in TEST() 47 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "sleep", "1"}))); in TEST() 51 ASSERT_TRUE(StatCmd()->Run({"--verbose", "sleep", "1"})); in TEST() 55 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "-e", "sched:sched_switch", "sleep", "1"}))); in TEST() 75 ASSERT_TRUE(StatCmd()->Run({"-e", event_name, "sleep", "1"})); in TEST() 90 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "-e", event_string, "sleep", "1"}))); in TEST() 95 ASSERT_TRUE(StatCmd()->Run({"-e", "cpu-cycles:u,cpu-cycles:k", "sleep", "1"})); in TEST() 123 ASSERT_TRUE(StatCmd()->Run({"-p", pid_list, "sleep", "1"})); in TEST() [all …]
|