Home
last modified time | relevance | path

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

/developtools/hiperf/test/unittest/common/native/
Dsubcommand_dump_test.cpp73 std::string cmdString = "dump"; in TestDumpCommand() local
74 cmdString += " " + option + " "; in TestDumpCommand()
82 bool ret = Command::DispatchCommand(cmdString); in TestDumpCommand()
87 printf("command : %s(run %" PRId64 " ms) return %s(expect %s)\n", cmdString.c_str(), in TestDumpCommand()
105 std::string cmdString = "dump -i /data/test/resource/testdata/report/perf.data.libreport"; variable
106 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
Dsubcommand_stat_test.cpp1498 std::string cmdString = "stat"; variable
1499 cmdString += tidString;
1500 cmdString += " -c 0 -d 3 --dumpoptions";
1502 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
1540 std::string cmdString = "stat"; variable
1541 cmdString += tidString;
1542 cmdString += " -c 0 -d 3 --dumpoptions";
1544 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
1574 std::string cmdString = "stat"; variable
1575 cmdString += tidString;
[all …]
Dsubcommand_record_test.cpp107 std::string cmdString = "record "; in TestRecordCommand() local
109 cmdString += "--app com.ohos.launcher "; in TestRecordCommand()
111 cmdString += " " + option; in TestRecordCommand()
112 printf("command : %s\n", cmdString.c_str()); in TestRecordCommand()
117 bool ret = Command::DispatchCommand(cmdString); in TestRecordCommand()
/developtools/profiler/host/smartperf/client/client_command/
Dstartup_delay.cpp32 std::string cmdString{"bytrace -t 5 -b 20480 --overwrite idle ace app ohos ability graphic "}; in GetTrace() local
34 SPUtils::LoadCmd(cmdString + cmdStringEnd + traceName, result); in GetTrace()
/developtools/hdc/src/common/
Dbase.h55 bool RunPipeComand(const char *cmdString, char *outBuf, uint16_t sizeOutBuf, bool ignoreTailLf);
Dbase.cpp663 bool RunPipeComand(const char *cmdString, char *outBuf, uint16_t sizeOutBuf, bool ignoreTailLf) in RunPipeComand() argument
665 FILE *pipeHandle = popen(cmdString, "r"); in RunPipeComand()