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);
211 std::string cmdString = "dump -i /data/test/resource/testdata/dwarf.compress.data"; variable
212 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
222 std::string cmdString = "dump -i /data/test/resource/testdata/dwarf.compress.data"; variable
223 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
[all …]
Dsubcommand_stat_test.cpp1502 std::string cmdString = "stat"; variable
1503 cmdString += tidString;
1504 cmdString += " -c 0 -d 3 --dumpoptions";
1506 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
1544 std::string cmdString = "stat"; variable
1545 cmdString += tidString;
1546 cmdString += " -c 0 -d 3 --dumpoptions";
1548 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
1578 std::string cmdString = "stat"; variable
1579 cmdString += tidString;
[all …]
Dsubcommand_record_test.cpp126 std::string cmdString = "record "; in TestRecordCommand() local
128 cmdString += "--app com.ohos.launcher "; in TestRecordCommand()
130 cmdString += " " + option; in TestRecordCommand()
131 printf("command : %s\n", cmdString.c_str()); in TestRecordCommand()
136 bool ret = Command::DispatchCommand(cmdString); in TestRecordCommand()
/developtools/profiler/host/smartperf/client/client_command/
Dstartup_delay.cpp33 std::string cmdString; in GetTrace() local
35 cmdString = "hitrace -t 5 -b 102400 --overwrite idle ace app ohos ability graphic nweb "; in GetTrace()
37 cmdString = "hitrace -t 5 -b 20480 --overwrite idle ace app ohos ability graphic nweb "; in GetTrace()
40 SPUtils::LoadCmd(cmdString + cmdStringEnd + traceName, result); in GetTrace()
/developtools/hdc/src/common/
Dbase.h57 bool RunPipeComand(const char *cmdString, char *outBuf, uint16_t sizeOutBuf, bool ignoreTailLf);
Dbase.cpp804 bool RunPipeComand(const char *cmdString, char *outBuf, uint16_t sizeOutBuf, bool ignoreTailLf) in RunPipeComand() argument
806 FILE *pipeHandle = popen(cmdString, "r"); in RunPipeComand()