| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | perf_event_record.h | 75 return StringPrintf("ip: 0x%016llx sp: 0x%016llx", ip_, sp_); in ToString() 81 output = StringPrintf("va: 0x%016llx(%llx) ", vaddrInFile_, ip_); in ToSymbolString() 83 output = StringPrintf("ip: 0x%016llx ", ip_); in ToSymbolString()
|
| D | utilities.h | 191 std::string StringPrintf(const char *stringFormat, VA... args) in StringPrintf() function
|
| /developtools/hiperf/src/ |
| D | subcommand_stat.cpp | 358 commentStr = StringPrintf("%lf cpus used", reportSum->commentSum); in MakeComments() 362 commentStr = StringPrintf("%lf GHz", reportSum->commentSum); in MakeComments() 366 commentStr = StringPrintf("%lf cycles per instruction", reportSum->commentSum); in MakeComments() 370 commentStr = StringPrintf("%lf miss rate", reportSum->commentSum); in MakeComments() 375 commentStr = StringPrintf("%.3lf G/sec", reportSum->commentSum / 1e9); in MakeComments() 379 commentStr = StringPrintf("%.3lf M/sec", reportSum->commentSum / 1e6); in MakeComments() 383 commentStr = StringPrintf("%.3lf K/sec", reportSum->commentSum / 1e3); in MakeComments() 386 commentStr = StringPrintf("%.3lf /sec", reportSum->commentSum); in MakeComments() 482 comments[configName] = StringPrintf("%lf cpus used", used_cpus); in GetComments() 494 comments[configName] = StringPrintf("%lf GHz", hz / 1e9); in GetComments() [all …]
|
| D | register.cpp | 117 return StringPrintf("%s: %" PRIx64 "", PERF_CONTEXT_NAME.at(addr).c_str(), addr); in UpdatePerfContext() 120 return StringPrintf("unknow context: %" PRIx64 "", addr); in UpdatePerfContext()
|
| D | option_debug.cpp | 113 std::string tagUsage = StringPrintf("%s\t%-20s\t%s\t%-20s\t%s", in RegisterMainCommandDebug()
|
| D | subcommand_dump.cpp | 385 StringPrintf("hiperf_%d_%d_user_regs_%zu.dump", recordSample.data_.pid, in ExprotUserStack() 393 StringPrintf("hiperf_%d_%d_user_data_%zu.dump", recordSample.data_.pid, in ExprotUserStack() 412 StringPrintf("hiperf_%d_%d_sample_record_%zu_%" PRIu64 ".dump", recordSample->data_.pid, in ExprotUserData()
|
| D | virtual_thread.cpp | 261 std::string mapPath = StringPrintf("/proc/%d/maps", pid_); in ParseServiceMap() 287 std::string mapPath = StringPrintf("/proc/%d/maps", devhost); in ParseDevhostMap()
|
| D | virtual_runtime.cpp | 88 comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName() 90 comm = ReadFileToString(StringPrintf("/proc/%d/cmdline", tid)).c_str(); in ReadThreadName()
|
| D | symbols_file.cpp | 707 procPath = StringPrintf("/proc/%u/uallsyms", SYSMGR_PID); in LoadKernelSyms()
|
| D | subcommand_record.cpp | 1473 StringPrintf("%d", virtualRuntime_.devhostPid_)); in AddDevhostFeature()
|
| /developtools/hiperf/include/ |
| D | report.h | 99 return StringPrintf("%" PRIu64 "(%" PRIu64 ")%s(%s+0x%" PRIx64 ") child %zu", eventCount_, in ToDebugString() 169 return StringPrintf("%d:%d:%s-%s(%s):%zu i:%llu", pid_, tid_, comm_.data(), func_.data(), in ToDebugString() 191 return StringPrintf(format.c_str(), len, a.eventCount_); in GetEventCount() 205 return StringPrintf(format.c_str(), len, a.pid_); in GetPid() 219 return StringPrintf(format.c_str(), len, a.tid_); in GetTid() 230 return StringPrintf(format.c_str(), len, a.comm_.data()); in GetComm() 240 return StringPrintf(format.c_str(), len, a.func_.data()); in GetFunc() 250 return StringPrintf(format.c_str(), len, a.dso_.data()); in GetDso() 260 return StringPrintf(format.c_str(), len, a.fromDso_.data()); in GetFromDso() 270 return StringPrintf(format.c_str(), len, a.fromFunc_.data()); in GetFromFunc() [all …]
|
| D | perf_event_record.h | 75 return StringPrintf("ip: 0x%016llx sp: 0x%016llx", ip_, sp_); in ToString() 79 std::string output = StringPrintf(" 0x%016llx : ", ip_); in ToSymbolString() 82 output += StringPrintf("[0x%016llx:0x%016llx][+0x%llx]", ip_ - offsetToVaddr_, in ToSymbolString()
|
| D | utilities.h | 193 std::string StringPrintf(const char *stringFormat, VA... args) in StringPrintf() function
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | utilities_test.cpp | 437 HWTEST_F(UtilitiesTest, StringPrintf, TestSize.Level1) 439 EXPECT_STREQ(StringPrintf("").c_str(), ""); 440 EXPECT_STREQ(StringPrintf("123").c_str(), "123"); 441 EXPECT_STREQ(StringPrintf("%d%s%c", 1, "2", 'c').c_str(), "12c"); 442 EXPECT_STREQ(StringPrintf("%d%s%c\t\n", 1, "2", 'c').c_str(), "12c\t\n"); 447 EXPECT_STRNE(StringPrintf(format).c_str(), format); 449 EXPECT_STREQ(StringPrintf(format).c_str(), format); 450 EXPECT_STREQ(StringPrintf(nullptr).c_str(), "");
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | utilities_test.cpp | 432 HWTEST_F(UtilitiesTest, StringPrintf, TestSize.Level1) 434 EXPECT_STREQ(StringPrintf("").c_str(), ""); 435 EXPECT_STREQ(StringPrintf("123").c_str(), "123"); 436 EXPECT_STREQ(StringPrintf("%d%s%c", 1, "2", 'c').c_str(), "12c"); 437 EXPECT_STREQ(StringPrintf("%d%s%c\t\n", 1, "2", 'c').c_str(), "12c\t\n"); 442 EXPECT_STRNE(StringPrintf(format).c_str(), format); 444 EXPECT_STREQ(StringPrintf(format).c_str(), format); 445 EXPECT_STREQ(StringPrintf(nullptr).c_str(), "");
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | register.cpp | 161 return StringPrintf("%s: %" PRIx64 "", PERF_CONTEXT_NAME.at(addr).c_str(), addr); in UpdatePerfContext() 164 return StringPrintf("unknow context: %" PRIx64 "", addr); in UpdatePerfContext()
|
| D | virtual_thread.cpp | 109 std::string comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName() 224 std::string mapPath = StringPrintf("/proc/%d/maps", pid_); in ParseMap()
|
| D | virtual_runtime.cpp | 64 std::string comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName()
|