/developtools/hiperf/src/ |
D | perf_event_record.cpp | 26 std::unique_ptr<PerfEventRecord> GetPerfEventRecord(const int type, uint8_t *p, in GetPerfEventRecord() argument 29 HLOG_ASSERT(p); in GetPerfEventRecord() 30 uint8_t *data = p; in GetPerfEventRecord() 71 inline void PushToBinary(bool condition, uint8_t *&p, const T &v) in PushToBinary() argument 74 *(reinterpret_cast<T *>(p)) = v; in PushToBinary() 75 p += sizeof(T); in PushToBinary() 80 inline void PushToBinary2(bool condition, uint8_t *&p, const T1 &v1, const T2 &v2) in PushToBinary2() argument 83 *(reinterpret_cast<T1 *>(p)) = v1; in PushToBinary2() 84 p += sizeof(T1); in PushToBinary2() 85 *(reinterpret_cast<T2 *>(p)) = v2; in PushToBinary2() [all …]
|
/developtools/profiler/ |
D | README_zh.md | 76 …"top" width="30%" id="mcps1.2.4.1.1"><p id="p223mcpsimp"><a name="p223mcpsimp"></a><a name="p223mc… 78 …020000000000003%" id="mcps1.2.4.1.2"><p id="p225mcpsimp"><a name="p225mcpsimp"></a><a name="p225mc… 80 …p" width="39.98%" id="mcps1.2.4.1.3"><p id="p227mcpsimp"><a name="p227mcpsimp"></a><a name="p227mc… 84 …"mcps1.2.4.1.1 "><p id="p231mcpsimp"><a name="p231mcpsimp"></a><a name="p231mcpsimp"></a>PluginMod… 86 …p id="p233mcpsimp"><a name="p233mcpsimp"></a><a name="p233mcpsimp"></a>int (*PluginSessionStartCal… 88 …7809165112"><li>功能:<p id="p1208131116548"><a name="p1208131116548"></a><a name="p1208131116548"></… 89 </li><li>输入参数:<p id="p104087130518"><a name="p104087130518"></a><a name="p104087130518"></a>configD… 90 <p id="p32731219115114"><a name="p32731219115114"></a><a name="p32731219115114"></a>configSize:配置信息… 91 </li><li>返回值:<p id="p4892128135110"><a name="p4892128135110"></a><a name="p4892128135110"></a>0:成功<… 92 <p id="p1621513010517"><a name="p1621513010517"></a><a name="p1621513010517"></a>-1:失败</p> [all …]
|
/developtools/hdc_standard/ |
D | README_zh.md | 103 …dth="50%" id="mcps1.2.3.1.1"><p id="p14423184344212"><a name="p14423184344212"></a><a name="p14423… 105 …idth="50%" id="mcps1.2.3.1.2"><p id="p164237433425"><a name="p164237433425"></a><a name="p16423743… 109 …p id="p1042344310428"><a name="p1042344310428"></a><a name="p1042344310428"></a>-t <em id="i198036… 111 …="mcps1.2.3.1.2 "><p id="p19423174317428"><a name="p19423174317428"></a><a name="p19423174317428">… 112 <p id="p2014511479313"><a name="p2014511479313"></a><a name="p2014511479313"></a>举例:hdc -t *****(设… 115 …p id="p04231743194215"><a name="p04231743194215"></a><a name="p04231743194215"></a>-s <em id="i510… 117 …s="mcps1.2.3.1.2 "><p id="p5424134314429"><a name="p5424134314429"></a><a name="p5424134314429"></… 118 <p id="p1599174953215"><a name="p1599174953215"></a><a name="p1599174953215"></a>举例:hdc -s ip:port<… 121 …aders="mcps1.2.3.1.1 "><p id="p17424204354216"><a name="p17424204354216"></a><a name="p17424204354… 123 …rs="mcps1.2.3.1.2 "><p id="p742444364214"><a name="p742444364214"></a><a name="p742444364214"></a>… [all …]
|
/developtools/bytrace_standard/ |
D | README_zh.md | 43 …width="50%" id="mcps1.2.3.1.1"><p id="p1280465972411"><a name="p1280465972411"></a><a name="p12804… 45 …idth="50%" id="mcps1.2.3.1.2"><p id="p380414595249"><a name="p380414595249"></a><a name="p38041459… 49 …0%" headers="mcps1.2.3.1.1 "><p id="p1915412133419"><a name="p1915412133419"></a><a name="p1915412… 51 …h="50%" headers="mcps1.2.3.1.2 "><p id="p6156126341"><a name="p6156126341"></a><a name="p615612634… 54 …p id="p18051959152410"><a name="p18051959152410"></a><a name="p18051959152410"></a>-b <em id="i359… 56 …p id="p0805165932419"><a name="p0805165932419"></a><a name="p0805165932419"></a>指定<em id="i1342413… 59 …p id="p880510591241"><a name="p880510591241"></a><a name="p880510591241"></a>-t <em id="i866814391… 61 …"mcps1.2.3.1.2 "><p id="p1480517591245"><a name="p1480517591245"></a><a name="p1480517591245"></a>… 64 …p id="p980655912242"><a name="p980655912242"></a><a name="p980655912242"></a>--trace_clock <em id=… 66 …2 "><p id="p11806959142416"><a name="p11806959142416"></a><a name="p11806959142416"></a>trace输出的时钟… [all …]
|
D | README.md | 41 …width="50%" id="mcps1.2.3.1.1"><p id="p1280465972411"><a name="p1280465972411"></a><a name="p12804… 43 …idth="50%" id="mcps1.2.3.1.2"><p id="p380414595249"><a name="p380414595249"></a><a name="p38041459… 47 …0%" headers="mcps1.2.3.1.1 "><p id="p1915412133419"><a name="p1915412133419"></a><a name="p1915412… 49 …headers="mcps1.2.3.1.2 "><p id="p6156126341"><a name="p6156126341"></a><a name="p6156126341"></a>V… 52 …p id="p18051959152410"><a name="p18051959152410"></a><a name="p18051959152410"></a>-b <em id="i359… 54 …p id="p0805165932419"><a name="p0805165932419"></a><a name="p0805165932419"></a>Sets the size of t… 57 …p id="p880510591241"><a name="p880510591241"></a><a name="p880510591241"></a>-t <em id="i866814391… 59 …p id="p1480517591245"><a name="p1480517591245"></a><a name="p1480517591245"></a>Sets the ByTrace u… 62 …p id="p980655912242"><a name="p980655912242"></a><a name="p980655912242"></a>--trace_clock <em id=… 64 …p id="p11806959142416"><a name="p11806959142416"></a><a name="p11806959142416"></a>Sets the type o… [all …]
|
/developtools/hiperf/test/unittest/common/native/ |
D | ring_buffer_test.cpp | 60 uint8_t *p = nullptr; in ReadBufferAndCheck() local 61 while ((p = buf.GetReadData()) != nullptr) { in ReadBufferAndCheck() 62 ASSERT_EQ(memcpy_s(&readData, sizeof(perf_event_header), p, sizeof(perf_event_header)), 0); in ReadBufferAndCheck() 65 p += sizeof(perf_event_header); in ReadBufferAndCheck() 68 ASSERT_EQ(*p, data) << "checkSize = " << hex << checkSize; in ReadBufferAndCheck() 69 p++; in ReadBufferAndCheck() 83 uint8_t *p = nullptr; in WriteBuffer() local 84 while ((p = buf.AllocForWrite(writeData.size)) != nullptr) { in WriteBuffer() 85 ASSERT_EQ(memcpy_s(p, writeData.size, &writeData, sizeof(perf_event_header)), 0); in WriteBuffer() 86 p += sizeof(perf_event_header); in WriteBuffer() [all …]
|
D | perf_event_record_test.cpp | 316 const uint8_t *p = buf.data() + offset; in CompareRecordSample50() local 318 if (record.data_.nr != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50() 321 p += sizeof(u64); in CompareRecordSample50() 323 if (record.data_.raw_size != *(reinterpret_cast<const u32 *>(p))) { in CompareRecordSample50() 326 p += sizeof(u32); in CompareRecordSample50() 328 if (record.data_.bnr != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50() 331 p += sizeof(u64); in CompareRecordSample50() 333 if (record.data_.user_abi != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50() 336 p += sizeof(u64); in CompareRecordSample50() 338 if (record.data_.stack_size != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50() [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/resources/sql-self/ |
D | QueryProcessThreadsNOrder.sql | 16 select p.id as upid, 18 p.pid, 20 p.name as processName, 22 from thread t left join process p on t.ipid = p.id;
|
D | GetFunDataByPid.sql | 18 p.pid, 31 left join process p on A.ipid = p.id 32 where startTs not null and c.cookie not null and p.pid = %s
|
D | DistributedQueryThreadsByPid.sql | 16 select thread.*,p.pid from thread left join process p on thread.ipid = p.id where pid = %s;
|
D | GetAsyncEvents.sql | 16 select *,p.pid as pid,c.ts - t.start_ts as "startTime" 17 from callstack c,trace_section t left join process p on c.callid = p.id where cookie is not null;
|
D | DistributedTraceMem.sql | 18 select filter.id,filter.name,p.name as processName from process_measure_filter as filter 19 left join process as p 20 on filter.ipid=p.id where filter.name = "mem.rss.anon"
|
D | DistributedTraceMemUnagg.sql | 23 select filter.ipid,filter.id,filter.name,p.name as processName from process_measure_filter as filter 24 left join process as p 25 on filter.ipid=p.id where filter.name = "mem.rss.anon" or filter.name = "mem.rss.file" or filter.na…
|
/developtools/profiler/device/plugins/native_hook/test/ |
D | hook_test.c | 68 char *DepthRealloc(int depth, void *p, int reallocSize) in DepthRealloc() argument 73 return (char *)realloc(p, reallocSize); in DepthRealloc() 75 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc() 78 void DepthFree(int depth, void *p) in DepthFree() argument 83 free(p); in DepthFree() 86 return (DepthFree(depth - 1, p)); in DepthFree() 95 char *p = DepthMalloc(STATIC_DEPTH, mallocSize); in ApplyForMalloc() local 97 if (!p) { in ApplyForMalloc() 106 DepthFree(STATIC_DEPTH, p); in ApplyForMalloc() 121 char *p = DepthCalloc(STATIC_DEPTH, callocSize); in ApplyForCalloc() local [all …]
|
D | hook_test.cpp | 84 void DepthFree(int depth, char *p) in DepthFree() argument 89 delete []p; in DepthFree() 92 return (DepthFree(depth - 1, p)); in DepthFree() 97 char *p = nullptr; in thread_func_cpp() local 103 p = DepthMalloc(g_stickDepth, MALLOC_SIZE); in thread_func_cpp() 107 if (p) { in thread_func_cpp() 108 DepthFree(g_stickDepth, p); in thread_func_cpp()
|
/developtools/profiler/device/cmds/src/ |
D | command_line.cpp | 83 auto p = it->second; in CheckParam() local 84 if (!p->IsInFilter(s1)) { in CheckParam() 87 switch (p->paramType_) { in CheckParam() 89 CommandParamSwitch* pswitch = (CommandParamSwitch*)p.get(); in CheckParam() 95 CommandParamText* ptext = (CommandParamText*)p.get(); in CheckParam() 128 auto p = it->second; in PrintHelp() local 131 for (std::string temp : p->paramFilter_) { in PrintHelp() 143 printf(" : %s\n", p->sDescriptor_.c_str()); in PrintHelp()
|
/developtools/profiler/device/services/ipc/src/ |
D | client_map.cpp | 33 int ClientMap::PutClientSocket(int socketFileDescriptor, ServiceEntry& p) in PutClientSocket() argument 36 …socketClients_[socketFileDescriptor] = std::make_shared<ClientConnection>(socketFileDescriptor, p); in PutClientSocket() 51 auto p = iter->second; in AutoRelease() local 52 switch (p->GetClientState()) { in AutoRelease()
|
/developtools/hiperf/include/ |
D | perf_event_record.h | 111 PerfEventRecord(uint8_t *p, const std::string &name); 173 PerfRecordMmap(uint8_t *p); 187 PerfRecordMmap2(uint8_t *p); 203 PerfRecordLost(uint8_t *p); 222 PerfRecordComm(uint8_t *p); 243 PerfRecordSample(uint8_t *p, const perf_event_attr &attr); 269 PerfRecordExit(uint8_t *p); 279 PerfRecordThrottle(uint8_t *p); 289 PerfRecordUnthrottle(uint8_t *p); 299 PerfRecordFork(uint8_t *p); [all …]
|
/developtools/profiler/device/plugins/hilog_plugin/src/ |
D | hilog_plugin.cpp | 342 bool HilogPlugin::FindFirstNum(char** p) in FindFirstNum() argument 344 CHECK_NOTNULL(*p, false, "HilogPlugin:%s", __func__); in FindFirstNum() 345 while (**p > '9' || **p < '0') { in FindFirstNum() 346 if (**p == '\0' || **p == '\n') { in FindFirstNum() 349 (*p)++; in FindFirstNum() 354 bool HilogPlugin::RemoveSpaces(char** p) in RemoveSpaces() argument 356 CHECK_NOTNULL(*p, false, "HilogPlugin:%s", __func__); in RemoveSpaces() 357 if (**p == '\0' || **p == '\n') { in RemoveSpaces() 360 while (**p == ' ') { in RemoveSpaces() 361 (*p)++; in RemoveSpaces() [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/resources/metrics-sql/ |
D | trace_mem.sql | 17 select filter.id,filter.name,p.name as processName from process_measure_filter as filter 18 left join process as p 19 on filter.ipid=p.id where filter.name = "mem.rss.anon"
|
D | trace_mem_unagg.sql | 22 select filter.ipid,filter.id,filter.name,p.name as processName from process_measure_filter as filter 23 left join process as p 24 on filter.ipid=p.id where filter.name = "mem.rss.anon" or filter.name = "mem.rss.file" or filter.na…
|
/developtools/profiler/device/plugins/native_hook/test/unittest/ |
D | check_hook_data_test.cpp | 139 void DepthFree(int depth, void *p) in DepthFree() argument 144 free(p); in DepthFree() 147 return (DepthFree(depth - 1, p)); in DepthFree() 162 char *p = DepthMalloc(depth); in ApplyForMalloc() local 163 if (!p) { in ApplyForMalloc() 170 DepthFree(depth, p); in ApplyForMalloc() 199 char *p = DepthCalloc(depth, callocSize); in ApplyForCalloc() local 200 if (!p) { in ApplyForCalloc() 207 DepthFree(depth, p); in ApplyForCalloc() 223 char *DepthRealloc(int depth, void *p, int reallocSize) in DepthRealloc() argument [all …]
|
/developtools/profiler/device/plugins/hilog_plugin/include/ |
D | hilog_plugin.h | 51 bool FindFirstNum(char** p); 52 bool RemoveSpaces(char** p); 53 bool FindFirstSpace(char** p);
|
/developtools/ace-ets2bundle/compiler/codegen/ |
D | codegen_ets.js | 15 …p=32,l=128,c=1/0,u=9007199254740991,y=NaN,d=4294967295,f=[["ary",l],["bind",1],["bindKey",2],["cur… argument
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/timer-shaft/ |
D | RangeRuler.ts | 321 p: number = 800; property in RangeRuler 350 … this.range.startNS += (this.centerXPercentage * this.currentDuration * 2 * this.scale / this.p); 351 …his.range.endNS -= ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale / this.p); 361 … this.range.startNS -= (this.centerXPercentage * this.currentDuration * 2 * this.scale / this.p); 362 …his.range.endNS += ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale / this.p); 372 let s = this.scale / this.p * this.currentDuration; 384 this.range.startNS += this.scale / this.p * this.currentDuration; 385 this.range.endNS += this.scale / this.p * this.currentDuration; 407 this.range.startNS += (this.centerXPercentage * 100 * this.scale / this.p); 408 this.range.endNS -= ((1 - this.centerXPercentage) * 100 * this.scale / this.p); [all …]
|