Home
last modified time | relevance | path

Searched refs:cmdString (Results 1 – 9 of 9) 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 …]
Dspe_decoder_test.cpp99 std::string cmdString = "record -e arm_spe_0/load_filter=1,min_latency=100/ -d 10 --app "; variable
100 cmdString += " " + TEST_PROCESSES;
101 printf("command : %s\n", cmdString.c_str());
106 bool ret = Command::DispatchCommand(cmdString);
124 std::string cmdString = "dump -i /data/test/resource/testdata/spe_perf.data"; variable
131 bool ret = Command::DispatchCommand(cmdString);
136 printf("command : %s(run %" PRId64 " ms) return %d\n", cmdString.c_str(),
Dsubcommand_stat_test.cpp1684 std::string cmdString = "stat"; variable
1685 cmdString += tidString;
1686 cmdString += " -c 0 -d 3 --dumpoptions";
1688 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
1731 std::string cmdString = "stat"; variable
1732 cmdString += tidString;
1733 cmdString += " -c 0 -d 3 --dumpoptions";
1735 EXPECT_EQ(Command::DispatchCommand(cmdString), true);
1770 std::string cmdString = "stat"; variable
1771 cmdString += tidString;
[all …]
Dsubcommand_record_test.cpp127 std::string cmdString = "record "; in TestRecordCommand() local
129 cmdString += "--app "; in TestRecordCommand()
130 cmdString += " " + TEST_PROCESSES; in TestRecordCommand()
132 cmdString += " " + option; in TestRecordCommand()
133 printf("command : %s\n", cmdString.c_str()); in TestRecordCommand()
138 bool ret = Command::DispatchCommand(cmdString); in TestRecordCommand()
/developtools/profiler/host/smartperf/client/client_command/test/unittest/
Dbytrace_test.cpp41 std::string cmdString; variable
43cmdString = "hitrace --trace_clock mono -t 10 -b 102400 --overwrite idle ace app ohos ability grap…
45cmdString = "hitrace --trace_clock mono -t 10 -b 204800 --overwrite idle ace app ohos ability grap…
51 std::string traceCmdExe = cmdString + cmdStringEnd + traceFile;
/developtools/profiler/host/smartperf/client/client_command/
DByTrace.cpp38 std::string cmdString; in ThreadGetTrace() local
40 cmdString = CMD_COMMAND_MAP.at(CmdCommand::HITRACE_1024); in ThreadGetTrace()
42 cmdString = CMD_COMMAND_MAP.at(CmdCommand::HITRACE_2048); in ThreadGetTrace()
46 std::string traceCmdExe = cmdString + traceFile; in ThreadGetTrace()
Dstartup_delay.cpp39 std::string cmdString; in GetTrace() local
41 cmdString = CMD_COMMAND_MAP.at(CmdCommand::HITRACE_1024); in GetTrace()
43 cmdString = CMD_COMMAND_MAP.at(CmdCommand::HITRACE_2048); in GetTrace()
45 SPUtils::LoadCmd(cmdString + traceName, result); in GetTrace()
50 SPUtils::LoadCmd(cmdString + traceName, result); in GetTrace()
/developtools/hdc/src/common/
Dbase.h82 bool RunPipeComand(const char *cmdString, char *outBuf, uint16_t sizeOutBuf, bool ignoreTailLf);
Dbase.cpp950 bool RunPipeComand(const char *cmdString, char *outBuf, uint16_t sizeOutBuf, bool ignoreTailLf) in RunPipeComand() argument
952 FILE *pipeHandle = popen(cmdString, "r"); in RunPipeComand()