Home
last modified time | relevance | path

Searched refs:stat_cmd (Results 1 – 1 of 1) sorted by relevance

/system/extras/simpleperf/
Dcmd_stat_test.cpp24 stat_cmd = Command::FindCommandByName("stat"); in SetUp()
25 ASSERT_TRUE(stat_cmd != nullptr); in SetUp()
29 Command* stat_cmd; member in StatCommandTest
33 ASSERT_TRUE(stat_cmd->Run({"stat", "sleep", "1"})); in TEST_F()
37 ASSERT_TRUE(stat_cmd->Run({"stat", "-e", "cpu-clock,task-clock", "sleep", "1"})); in TEST_F()
41 ASSERT_TRUE(stat_cmd->Run({"stat", "-a", "sleep", "1"})); in TEST_F()
45 ASSERT_TRUE(stat_cmd->Run({"stat", "--verbose", "sleep", "1"})); in TEST_F()