Lines Matching refs:Run

38 TEST(stat_cmd, no_options) { ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); }  in TEST()
41 ASSERT_TRUE(StatCmd()->Run({"-e", "cpu-clock,task-clock", "sleep", "1"})); in TEST()
45 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "sleep", "1"}))); in TEST()
49 ASSERT_TRUE(StatCmd()->Run({"--verbose", "sleep", "1"})); in TEST()
54 StatCmd()->Run({"-a", "-e", "sched:sched_switch", "sleep", "1"}))); in TEST()
74 ASSERT_TRUE(StatCmd()->Run({"-e", event_name, "sleep", "1"})); in TEST()
90 StatCmd()->Run({"-a", "-e", event_string, "sleep", "1"}))); in TEST()
96 StatCmd()->Run({"-e", "cpu-cycles:u,cpu-cycles:k", "sleep", "1"})); in TEST()
124 ASSERT_TRUE(StatCmd()->Run({"-p", pid_list, "sleep", "1"})); in TEST()
133 ASSERT_TRUE(StatCmd()->Run({"-t", tid_list, "sleep", "1"})); in TEST()
137 ASSERT_FALSE(StatCmd()->Run({})); in TEST()
138 ASSERT_FALSE(StatCmd()->Run({""})); in TEST()
144 StatCmd()->Run({"--group", "cpu-clock,page-faults", "sleep", "1"})); in TEST()
145 ASSERT_TRUE(StatCmd()->Run({"--group", "cpu-cycles,instructions", "--group", in TEST()
153 ASSERT_TRUE(StatCmd()->Run({"--group", "instructions:u,instructions:k", "-o", in TEST()
168 StatCmd()->Run({"--duration", "1.2", "-p", std::to_string(getpid()), "--in-app"})); in TEST()
169 ASSERT_TRUE(StatCmd()->Run({"--duration", "1", "sleep", "2"})); in TEST()
175 StatCmd()->Run({"--interval", "500.0", "--duration", "1.2", "-o", in TEST()
190 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "--interval", "100", "--duration", "0.3"}))); in TEST()
194 ASSERT_TRUE(StatCmd()->Run({"--interval", "500", "--interval-only-values", "sleep", "2"})); in TEST()
195 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "--interval", "100", "--interval-only-values", in TEST()
202 ASSERT_FALSE(StatCmd()->Run({"-e", e + ":" + m, "sleep", "0.1"})) in TEST()
214 ASSERT_TRUE(StatCmd()->Run({"sleep", "1000000"})); in TEST()
225 ASSERT_TRUE(StatCmd()->Run({"-t", std::to_string(tid), "--in-app"})); in TEST()
247 ASSERT_TRUE(StatCmd()->Run({"--csv", "--group", "task-clock,cpu-cycles", "sleep", "1"})); in TEST()
313 ASSERT_TRUE(StatCmd()->Run({"--app", app_name, "--duration", "3"})); in TestStatingApps()
332 TEST_IN_ROOT(StatCmd()->Run({"--use-devfreq-counters", "sleep", "0.1"})); in TEST()
339 ASSERT_TRUE(StatCmd()->Run({"--per-thread", "sleep", "0.1"})); in TEST()
340 TEST_IN_ROOT(StatCmd()->Run({"--per-thread", "-a", "--duration", "0.1"})); in TEST()
344 ASSERT_TRUE(StatCmd()->Run({"--per-core", "sleep", "0.1"})); in TEST()
345 TEST_IN_ROOT(StatCmd()->Run({"--per-core", "-a", "--duration", "0.1"})); in TEST()
349 …ASSERT_TRUE(StatCmd()->Run({"--per-thread", "--per-core", "--sort", "cpu,count", "sleep", "0.1"})); in TEST()