| /developtools/profiler/hiebpf/src/ |
| D | hhlog.cpp | 102 ss << std::to_string(tmPtr->tm_year + yearStart) << "."; in GetLogFileName() 103 ss << std::to_string(tmPtr->tm_mon + monthStart) << "."; in GetLogFileName() 104 ss << std::to_string(tmPtr->tm_mday) << "_"; in GetLogFileName() 105 ss << std::to_string(tmPtr->tm_hour) << "."; in GetLogFileName() 106 ss << std::to_string(tmPtr->tm_min) << "."; in GetLogFileName() 107 ss << std::to_string(tmPtr->tm_sec) << ".hhlog"; in GetLogFileName() 123 ss << std::to_string(tmPtr->tm_year + yearStart) << "-"; in GetFormatTime() 124 ss << std::to_string(tmPtr->tm_mon + monthStart) << "-"; in GetFormatTime() 125 ss << std::to_string(tmPtr->tm_mday) << " "; in GetFormatTime() 126 ss << std::to_string(tmPtr->tm_hour) << ":"; in GetFormatTime() [all …]
|
| D | libbpf_logger.cpp | 98 ss << std::to_string(tmPtr->tm_year + yearStart) << "."; in GetLogFileName() 99 ss << std::to_string(tmPtr->tm_mon + monthStart) << "."; in GetLogFileName() 100 ss << std::to_string(tmPtr->tm_mday) << "_"; in GetLogFileName() 101 ss << std::to_string(tmPtr->tm_hour) << "."; in GetLogFileName() 102 ss << std::to_string(tmPtr->tm_min) << "."; in GetLogFileName() 103 ss << std::to_string(tmPtr->tm_sec) << ".libbpf.log"; in GetLogFileName()
|
| D | bpf_log_reader.cpp | 75 ss << std::to_string(tmPtr->tm_year + yearStart) << "."; in GetLogFileName() 76 ss << std::to_string(tmPtr->tm_mon + monthStart) << "."; in GetLogFileName() 77 ss << std::to_string(tmPtr->tm_mday) << "_"; in GetLogFileName() 78 ss << std::to_string(tmPtr->tm_hour) << "."; in GetLogFileName() 79 ss << std::to_string(tmPtr->tm_min) << "."; in GetLogFileName() 80 ss << std::to_string(tmPtr->tm_sec) << ".bpf.log"; in GetLogFileName()
|
| /developtools/profiler/device/services/profiler_service/test/unittest/ |
| D | profiler_capability_manager_test.cpp | 69 cap.set_path(DEFAULT_TEST_PATH + "libcap_" + std::to_string(i) + ".so"); 70 cap.set_name("cap_" + std::to_string(i)); 89 cap.set_path(DEFAULT_TEST_PATH + "libcap_" + std::to_string(i) + ".so"); 90 cap.set_name("cap_" + std::to_string(i)); 96 cap.set_name("cap_" + std::to_string(i)); 135 cap.set_path(DEFAULT_TEST_PATH + "libcap_" + std::to_string(i) + ".so"); 136 cap.set_name("cap_" + std::to_string(i));
|
| D | profiler_data_repeater_test.cpp | 80 itemY->set_data(std::to_string(y)); in __anonf8c29b9f0302() 88 itemX->set_data(std::to_string(x0)); 128 yData->set_data(std::to_string(y)); in __anonf8c29b9f0502() 137 xData->set_data(std::to_string(x0));
|
| /developtools/smartperf_host/trace_streamer/src/base/ |
| D | filter_constraints.cpp | 55 idxStr = "C" + std::to_string(constraints_.size()); in ToString() 57 idxStr += " " + std::to_string(constraints_[i].col); in ToString() 58 idxStr += " " + std::to_string(constraints_[i].op); in ToString() 60 idxStr += " O" + std::to_string(orderBys_.size()); in ToString() 62 idxStr += " " + std::to_string(orderBys_[i].iColumn); in ToString() 63 idxStr += " " + std::to_string(orderBys_[i].desc); in ToString()
|
| /developtools/profiler/host/smartperf/client/client_command/ |
| D | CPU.cpp | 35 cpuLoadsStr = std::to_string(workloads[i]); in ItemData() 36 cpuFreqStr = std::to_string(GetCpuFreq(i)); in ItemData() 37 result["cpu" + std::to_string(i) + "Load"] = cpuLoadsStr; in ItemData() 38 result["cpu" + std::to_string(i) + "Frequency"] = cpuFreqStr; in ItemData() 161 double perUser = std::atof(std::to_string(user * 100.0 / total).c_str()); in CacWorkload() 162 double perSys = std::atof(std::to_string(sys * 100.0 / total).c_str()); in CacWorkload() 163 double periowait = std::atof(std::to_string(iowait * 100.0 / total).c_str()); in CacWorkload() 164 double perirq = std::atof(std::to_string(irq * 100.0 / total).c_str()); in CacWorkload()
|
| D | GPU.cpp | 25 result["gpuFrequency"] = std::to_string(freq); in ItemData() 26 result["gpuLoad"] = std::to_string(load); in ItemData()
|
| D | startup_delay.cpp | 106 pointXY = std::to_string(x) + " " + std::to_string(y); in InitXY2() 145 pointXY = std::to_string(x) + " " + std::to_string(y); in InitXY()
|
| /developtools/profiler/host/smartperf/trace_streamer/src/base/ |
| D | filter_constraints.cpp | 55 idxStr = "C" + std::to_string(constraints_.size()); in ToString() 57 idxStr += " " + std::to_string(constraints_[i].col); in ToString() 58 idxStr += " " + std::to_string(constraints_[i].op); in ToString() 60 idxStr += " O" + std::to_string(orderBys_.size()); in ToString() 62 idxStr += " " + std::to_string(orderBys_[i].iColumn); in ToString() 63 idxStr += " " + std::to_string(orderBys_[i].desc); in ToString()
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | ftrace_fs_ops.cpp | 93 return FileUtils::WriteFile(path, std::to_string(static_cast<int>(size))) > 0; in SetSavedCmdLinesSize() 108 std::string path = "/proc/" + std::to_string(pid) + "/comm"; in GetProcessComm() 117 std::string path = "/proc/" + std::to_string(pid) + "/task/" + std::to_string(tid) + "/comm"; in GetThreadComm() 126 return FileUtils::ReadFile(ftraceRoot_ + "/per_cpu/cpu" + std::to_string(cpu) + "/stats"); in GetPerCpuStats() 131 return ftraceRoot_ + "/per_cpu/cpu" + std::to_string(cpu) + "/trace_pipe_raw"; in GetRawTracePath() 159 return FileUtils::WriteFile(path, std::to_string(static_cast<int>(enable))) > 0; in SetRecordCmdOption() 165 return FileUtils::WriteFile(path, std::to_string(static_cast<int>(enable))) > 0; in SetRecordTgidOption() 171 return FileUtils::WriteFile(path, std::to_string(sizeKb)) > 0; in SetBufferSizeKb()
|
| /developtools/profiler/device/base/src/ |
| D | common.cpp | 94 std::string pidStr = std::to_string(getpid()); in IsProcessRunning() 196 …mallinfoLog += "arena = " + std::to_string(mallinfo.arena) + ", ordblks = " + std::to_string(malli… in PrintMallinfoLog() 197 …mallinfoLog += ", smblks = " + std::to_string(mallinfo.smblks) + ", hblks = " + std::to_string(mal… in PrintMallinfoLog() 198 …mallinfoLog += ", hblkhd = " + std::to_string(mallinfo.hblkhd) + ", usmblks = " + std::to_string(m… in PrintMallinfoLog() 200 …", fsmblks = " + std::to_string(mallinfo.fsmblks) + ", uordblks = " + std::to_string(mallinfo.uord… in PrintMallinfoLog() 202 …", fordblks = " + std::to_string(mallinfo.fordblks) + ", keepcost = " + std::to_string(mallinfo.ke… in PrintMallinfoLog() 403 std::string filePath = "/proc/" + std::to_string(pid) + "/cmdline"; in CheckApplicationPermission() 508 filePath = "/proc/" + std::to_string(pid) + "/root/" + filePath; in AdaptSandboxPath()
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | call_stack.cpp | 40 {UNW_ESUCCESS, std::to_string(UNW_ESUCCESS)}, 41 {UNW_EUNSPEC, std::to_string(UNW_EUNSPEC)}, 42 {UNW_ENOMEM, std::to_string(UNW_ENOMEM)}, 43 {UNW_EBADREG, std::to_string(UNW_EBADREG)}, 44 {UNW_EREADONLYREG, std::to_string(UNW_EREADONLYREG)}, 45 {UNW_ESTOPUNWIND, std::to_string(UNW_ESTOPUNWIND)}, 46 {UNW_EINVALIDIP, std::to_string(UNW_EINVALIDIP)}, 47 {UNW_EBADFRAME, std::to_string(UNW_EBADFRAME)}, 48 {UNW_EINVAL, std::to_string(UNW_EINVAL)}, 49 {UNW_EBADVERSION, std::to_string(UNW_EBADVERSION)}, [all …]
|
| D | main.cpp | 58 if (std::to_string(hookData.pid) != args[idx + 1]) { in ParseCommand() 69 if (std::to_string(hookData.smbSize) != args[idx + 1]) { in ParseCommand() 74 if (std::to_string(hookData.filterSize) != args[idx + 1]) { in ParseCommand() 82 if (std::to_string(hookData.maxStackDepth) != args[idx + 1]) { in ParseCommand() 105 if (std::to_string(hookData.statisticsInterval) != args[idx + 1]) { in ParseCommand()
|
| /developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/protoc_plugin/ |
| D | proto_reader_plugin.cpp | 191 std::to_string(enumDescriptor->value(i)->number())); in WriteEnumDescriptor() 222 "name", className, "maxDataAreaID", std::to_string(maxFieldID)); in WriteDecoder() 256 field->lowercase_name(), "id", std::to_string(field->number())); in WriteDecoder() 270 std::to_string(field->number())); in WriteDecoder() 276 … "name", field->lowercase_name(), "type", type, "id", std::to_string(field->number())); in WriteDecoder() 279 … field->lowercase_name(), "id", std::to_string(field->number()), "type", type, "toFunc", in WriteDecoder() 296 std::to_string(field->number())); in WriteEnum()
|
| /developtools/smartperf_host/trace_streamer/src/proto_reader/protoc_plugin/ |
| D | proto_reader_plugin.cpp | 190 std::to_string(enumDescriptor->value(i)->number())); in WriteEnumDescriptor() 221 "name", className, "maxDataAreaID", std::to_string(maxFieldID)); in WriteDecoder() 255 field->lowercase_name(), "id", std::to_string(field->number())); in WriteDecoder() 269 std::to_string(field->number())); in WriteDecoder() 275 … "name", field->lowercase_name(), "type", type, "id", std::to_string(field->number())); in WriteDecoder() 278 … field->lowercase_name(), "id", std::to_string(field->number()), "type", type, "toFunc", in WriteDecoder() 295 std::to_string(field->number())); in WriteEnum()
|
| /developtools/hiperf/src/ |
| D | callstack.cpp | 41 {UNW_ESUCCESS, std::to_string(UNW_ESUCCESS)}, 42 {UNW_EUNSPEC, std::to_string(UNW_EUNSPEC)}, 43 {UNW_ENOMEM, std::to_string(UNW_ENOMEM)}, 44 {UNW_EBADREG, std::to_string(UNW_EBADREG)}, 45 {UNW_EREADONLYREG, std::to_string(UNW_EREADONLYREG)}, 46 {UNW_ESTOPUNWIND, std::to_string(UNW_ESTOPUNWIND)}, 47 {UNW_EINVALIDIP, std::to_string(UNW_EINVALIDIP)}, 48 {UNW_EBADFRAME, std::to_string(UNW_EBADFRAME)}, 49 {UNW_EINVAL, std::to_string(UNW_EINVAL)}, 50 {UNW_EBADVERSION, std::to_string(UNW_EBADVERSION)}, [all …]
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | option_debug_test.cpp | 73 TEST_LOG_MESSAGE + std::to_string(rnd_()) + "_" + std::to_string(testlevel); in LogLevelTest() 153 const std::string logMessage = TEST_LOG_MESSAGE + std::to_string(rnd_());
|
| D | subcommand_stat_test.cpp | 376 cmdstr += std::to_string(tid1); 418 cmdstr += std::to_string(tid1); 455 cmdstr += std::to_string(tid1); 518 cmdstr += std::to_string(tid1); 554 cmdstr += std::to_string(tid1); 590 cmdstr += std::to_string(tid1); 821 cmdstr += std::to_string(tid1); 856 cmdstr += std::to_string(tid1); 891 cmdstr += std::to_string(tid1); 927 cmdstr += std::to_string(tid1); [all …]
|
| D | perf_file_writer_test.cpp | 87 std::string testStr = "testFeature " + std::to_string(i); 123 std::string testStr = "testFeature " + std::to_string(i); 149 std::string testStr = "test " + std::to_string(i);
|
| /developtools/profiler/device/plugins/native_hook/test/unittest/ |
| D | check_hook_data_test.cpp | 79 command_.push_back(const_cast<char*>(std::to_string(SHARE_MEMORY_SIZE).c_str())); in StartDaemonProcessArgs() 81 command_.push_back(const_cast<char*>(std::to_string(hookPid_).c_str())); in StartDaemonProcessArgs() 86 command_.push_back(const_cast<char*>(std::to_string(unwindDepth_).c_str())); in StartDaemonProcessArgs() 90 command_.push_back(const_cast<char*>(std::to_string(statisticsInterval_).c_str())); in StartDaemonProcessArgs() 132 std::string stopCmd = "kill -9 " + std::to_string(processNum); in StopProcess() 378 std::string cmd = "kill -36 " + std::to_string(hookPid_); in StartAndStopHook() 382 std::string cmdEnd = "kill -37 " + std::to_string(hookPid_); in StartAndStopHook() 627 if (resultVec[mallocSizePos] == std::to_string(LIBA_MALLOC_SIZE)) { 634 } else if (resultVec[mallocSizePos] == std::to_string(LIBB_MALLOC_SIZE)) { 663 std::string cmd = "kill -36 " + std::to_string(hookPid_); [all …]
|
| /developtools/smartperf_host/trace_streamer/test/unittest/ |
| D | htrace_process_parser_test.cpp | 151 EXPECT_EQ(userNameFirst, std::to_string(UID_02)); 223 EXPECT_EQ(userNameFirst, std::to_string(UID_02)); 224 EXPECT_EQ(userNameSecond, std::to_string(UID_03)); 316 EXPECT_EQ(userNameFirst, std::to_string(UID_02)); 317 EXPECT_EQ(userNameSecond, std::to_string(UID_03)); 318 EXPECT_EQ(userNameThird, std::to_string(UID_04));
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/resource/testdata/source/ |
| D | elf_test_source_code.cpp | 22 std::string gTestString = std::to_string(gTestGlobalCounter++); in TestGlobalChildFunction()
|
| /developtools/hiperf/test/unittest/resource/testdata/source/ |
| D | elf_test_source_code.cpp | 22 std::string gTestString = std::to_string(gTestGlobalCounter++); in TestGlobalChildFunction()
|
| /developtools/profiler/device/plugins/cpu_plugin/src/ |
| D | cpu_data_plugin.cpp | 305 std::string fileName = freqPath_ + "/cpu" + std::to_string(i) + FREQUENCY_MAX_PATH; in GetMaxCpuFrequencyIndex() 308 fileName = freqPath_ + "/cpu" + std::to_string(i) + FREQUENCY_MIN_PATH; in GetMaxCpuFrequencyIndex() 332 std::string fileName = freqPath_ + "/cpu" + std::to_string(coreNum) + FREQUENCY_CUR_PATH; in SetCpuFrequency() 464 std::string fileName = path_ + std::to_string(pid_) + "/stat"; in WriteCpuUsageInfo() 601 std::string fileName = path_ + std::to_string(pid_) + "/task/" + std::to_string(tid) + "/stat"; in WriteSingleThreadInfo() 616 std::string path = path_ + std::to_string(pid_) + "/task"; in WriteThreadInfo()
|