| /developtools/smartperf_host/ide/src/trace/component/chart/ |
| D | PerfDataQuery.ts | 40 this.filesData[file.fileId] = this.filesData[file.fileId] || []; 42 this.filesData[file.fileId].push(file); 56 getLibName(fileId: number, symbolId: number) { 59 if (this.filesData[fileId] && this.filesData[fileId].length > 0) { 60 name = this.filesData[fileId][0].fileName; 63 if (this.filesData[fileId] && this.filesData[fileId].length > symbolId) { 64 name = this.filesData[fileId][symbolId].fileName;
|
| /developtools/smartperf_host/ide/src/js-heap/ |
| D | HeapDataInterface.ts | 58 public setFileId(fileId: number) { 59 this.baseFileStruct = this.getFileStructById(fileId); 74 …public getClassesListForSummary(fileId: number, minNodeId?: number, maxNodeId?: number): Array<Con… 77 let filStruct = this.baseFileStruct ? this.baseFileStruct : this.getFileStructById(fileId); 123 public getSamples(fileId: number): Array<HeapSample> { 124 let filStruct = this.baseFileStruct ? this.baseFileStruct : this.getFileStructById(fileId); 138 let filStruct = this.baseFileStruct ? this.baseFileStruct : this.getFileStructById(node.fileId); 151 let filStruct = this.baseFileStruct ? this.baseFileStruct : this.getFileStructById(node.fileId); 166 …Struct = this.baseFileStruct ? this.baseFileStruct : this.getFileStructById(comparisonNode.fileId); 204 …filStruct = this.baseFileStruct ? this.baseFileStruct : this.getFileStructById(constructor.fileId); [all …]
|
| /developtools/smartperf_host/ide/src/trace/database/ |
| D | DBUtils.ts | 80 export function cacheTraceFileBuffer(db: IDBDatabase, oldFileId: string, fileId: string, buffer: Ar… 98 file_id: fileId, 105 info('cache file success', fileId, buffer.byteLength); 109 info('delete error', fileId); 125 export function getTraceFileBuffer(fileId: string): Promise<ArrayBuffer | null> { 127 if (fileId === null || fileId === undefined || fileId === '') { 136 .getAll(fileId);
|
| /developtools/smartperf_host/ide/test/js-heap/logic/ |
| D | Allocation.test.ts | 21 fileId: 0, 40 fileId: 1, 62 fileId: 42, 101 fileId: 46, 144 fileId: 0, 163 fileId: 0, 184 fileId: 65, 203 fileId: 21, 224 fileId: 23, 243 fileId: 3, [all …]
|
| D | HeapLoader.test.ts | 72 fileId: 1, 168 fileId: 0, 193 heapLoader.fileId = jest.fn(() => true); 285 fileId:1,
|
| /developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_js_memory_parser.h | 78 void ParserJSSnapInfo(int32_t fileId, const json& jMessage); 79 void ParseNodes(int32_t fileId, const json& jMessage, uint64_t endTime, bool isSplitFile); 80 void ParseEdges(int32_t fileId, const json& jMessage); 81 void ParseLocation(int32_t fileId, const json& jMessage); 82 …void ParseSample(int32_t fileId, const json& jMessage, uint64_t startTime, uint64_t endTime, bool … 83 void ParseString(int32_t fileId, const json& jMessage); 84 void ParseTraceFuncInfo(int32_t fileId, const json& jMessage); 85 void ParseTraceNode(int32_t fileId, const json& jMessage); 86 …void ParserSnapInfo(int32_t fileId, const std::string& key, const std::vector<std::vector<std::str…
|
| D | htrace_js_memory_parser.cpp | 592 void HtraceJSMemoryParser::ParserSnapInfo(int32_t fileId, in ParserSnapInfo() argument 600 …(void)traceDataCache_->GetJsHeapInfoData()->AppendNewData(fileId, key, 0, std::numeric_limits<uint… in ParserSnapInfo() 604 …(void)traceDataCache_->GetJsHeapInfoData()->AppendNewData(fileId, key, 1, std::numeric_limits<uint… in ParserSnapInfo() 611 void HtraceJSMemoryParser::ParserJSSnapInfo(int32_t fileId, const json& jMessage) in ParserJSSnapInfo() argument 617 ParserSnapInfo(fileId, NODE_TYPES, snapshot.meta.nodeTypes); in ParserJSSnapInfo() 618 ParserSnapInfo(fileId, EDGE_TYPES, snapshot.meta.edgeTypes); in ParserJSSnapInfo() 622 … (void)traceDataCache_->GetJsHeapInfoData()->AppendNewData(fileId, "node_count", 0, nodeCount, ""); in ParserJSSnapInfo() 623 … (void)traceDataCache_->GetJsHeapInfoData()->AppendNewData(fileId, "edge_count", 0, edgeCount, ""); in ParserJSSnapInfo() 624 …(void)traceDataCache_->GetJsHeapInfoData()->AppendNewData(fileId, "trace_function_count", 0, trace… in ParserJSSnapInfo() 627 void HtraceJSMemoryParser::ParseNodes(int32_t fileId, const json& jMessage, uint64_t endTime, bool … in ParseNodes() argument [all …]
|
| /developtools/smartperf_host/ide/test/trace/bean/ |
| D | PerfProfile.test.ts | 43 fileId: 0, 52 fileId: expect.any(Number), 101 fileId: 0, 125 fileId: expect.any(Number), 223 fileId: 0, 241 fileId: expect.any(Number), 266 fileId: 0, 274 fileId: expect.any(Number), 314 fileId: 0,
|
| /developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/ |
| D | config_parser.py | 40 def create(self, json_node, parent = None, fileId = None): argument 43 def update(self, json_node, parent = None, fileId = None): argument 70 def create(self, json_node, parent = None, fileId = None): argument 76 if fileId: 77 self["fileId"] = fileId 95 def _add_cmds(self, cmdList, fileId): argument 97 self._config_parser.add_cmd(cmd, self, fileId) 99 def create(self, json_node, parent = None, fileId = None): argument 105 if fileId and self["fileId"] is None: 106 self["fileId"] = fileId [all …]
|
| /developtools/smartperf_host/trace_streamer/src/filter/ |
| D | perf_data_filter.cpp | 28 size_t PerfDataFilter::AppendPerfFiles(uint64_t fileId, uint32_t serial, DataIndex symbols, DataInd… in AppendPerfFiles() argument 30 fileIds_.emplace(fileId); in AppendPerfFiles() 31 …auto size = traceDataCache_->GetPerfFilesData()->AppendNewPerfFiles(fileId, serial, symbols, fileP… in AppendPerfFiles() 32 fileIdToRowInFileTable_.Insert(fileId, serial, size); in AppendPerfFiles() 34 fileIdToRow_.insert(std::make_pair(fileId, size)); in AppendPerfFiles() 43 uint64_t fileId, in AppendPerfCallChain() argument 46 …Cache_->GetPerfCallChainData()->AppendNewPerfCallChain(callChainId, depth, ip, vaddrInFile, fileId, in AppendPerfCallChain()
|
| D | perf_data_filter.h | 36 size_t AppendPerfFiles(uint64_t fileId, uint32_t serial, DataIndex symbols, DataIndex filePath); 41 uint64_t fileId,
|
| /developtools/smartperf_host/ide/src/trace/database/sql/ |
| D | Func.sql.ts | 235 export const queryHeapFunction = (fileId: number): Promise<Array<HeapTraceFunctionInfo>> => 239 FROM js_heap_trace_function_info WHERE file_id = ${fileId}` 241 export const queryHeapTraceNode = (fileId: number): Promise<Array<any>> => 266 file_id = ${fileId} 274 N.file_id = ${fileId}
|
| D | SqlLite.sql.ts | 1022 export const queryHeapInfo = (fileId: number): Promise<Array<any>> => 1026 FROM js_heap_info WHERE file_id = ${fileId}` 1029 export const queryHeapNode = (fileId: number): Promise<Array<HeapNode>> => 1033 FROM js_heap_nodes WHERE file_id = ${fileId}` 1036 export const queryHeapEdge = (fileId: number): Promise<Array<HeapEdge>> => 1040 FROM js_heap_edges WHERE file_id = ${fileId}` 1042 export const queryHeapSample = (fileId: number): Promise<Array<HeapSample>> => 1046 FROM js_heap_sample WHERE file_id = ${fileId}` 1049 export const queryHeapLocation = (fileId: number): Promise<Array<HeapLocation>> => 1053 FROM js_heap_location WHERE file_id = ${fileId}` [all …]
|
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | PerfProfile.ts | 20 fileId: number = 0; property in PerfFile 54 fileId: number = 0; property in PerfCallChain 112 fileId: number = 0; property in PerfSample 121 fileId: number = 0; property in PerfStack
|
| /developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/htrace/ |
| D | arkts_stdtype.cpp | 55 size_t JsHeapEdges::AppendNewData(uint32_t fileId, in AppendNewData() argument 63 fileIds_.emplace_back(fileId); in AppendNewData() 103 …JsHeapInfo::AppendNewData(uint32_t fileId, std::string key, uint32_t type, int32_t intValue, std::… in AppendNewData() argument 105 fileIds_.emplace_back(fileId); in AppendNewData() 134 size_t JsHeapLocation::AppendNewData(uint32_t fileId, in AppendNewData() argument 140 fileIds_.emplace_back(fileId); in AppendNewData() 169 size_t JsHeapNodes::AppendNewData(uint32_t fileId, in AppendNewData() argument 179 fileIds_.emplace_back(fileId); in AppendNewData() 228 size_t JsHeapSample::AppendNewData(uint32_t fileId, uint64_t timeStampUs, uint32_t lastAssignedId) in AppendNewData() argument 230 fileIds_.emplace_back(fileId); in AppendNewData() [all …]
|
| D | arkts_stdtype.h | 51 size_t AppendNewData(uint32_t fileId, 89 …size_t AppendNewData(uint32_t fileId, std::string key, uint32_t type, int32_t intValue, std::strin… 115 …size_t AppendNewData(uint32_t fileId, uint32_t objectIndex, uint32_t scriptId, uint32_t line, uint… 141 size_t AppendNewData(uint32_t fileId, 187 size_t AppendNewData(uint32_t fileId, uint64_t timeStampUs, uint32_t lastAssignedId); 207 size_t AppendNewData(uint32_t fileId, uint32_t fileIndex, std::string string); 227 size_t AppendNewData(uint32_t fileId, 269 size_t AppendNewData(uint32_t fileId,
|
| /developtools/smartperf_host/ide/src/trace/database/data-trafic/hiperf/ |
| D | HiperfCallChartReceiver.ts | 32 fileId: Array<number>; constant 48 fileId: [], 125 dataCache.fileId.push(item.fileId); 162 perfCallChart.fileId[i] = dataFilter.fileId[i]; 182 fileId: perfCallChart.fileId.buffer, 198 perfCallChart.fileId.buffer, 249 dataSource.fileId.push(dataCache.fileId[index]); 386 dataCache.fileId = []; 399 fileId: stack.hiperfCallStackData.fileId || 0, 446 fileId: Int32Array; property in PerfCallChart [all …]
|
| D | HiperfCallChartSender.ts | 89 let fileId = new Int32Array(res.fileId); 101 fileId: fileId[i],
|
| /developtools/smartperf_host/ide/src/js-heap/utils/ |
| D | Utils.ts | 21 constructor.fileId = node.fileId;
|
| /developtools/smartperf_host/ide/src/js-heap/model/ |
| D | UiStruct.ts | 34 fileId = -1; property in ConstructorItem 89 copyItem.fileId = this.fileId; 134 fileId = -1; property in AllocationFunction
|
| D | DatabaseStruct.ts | 68 fileId: number; property in HeapNode 90 fileId: number, 101 this.fileId = fileId;
|
| /developtools/smartperf_host/ide/test/trace/component/trace/sheet/ark-ts/ |
| D | TabPaneComparison.test.ts | 76 fileId: 10, 111 fileId: 1, 148 fileId: 0, 184 fileId: 41, 220 fileId: 34,
|
| D | TabPaneSummary.test.ts | 70 fileId: 0, 105 fileId: 23, 166 fileId: 0, 201 fileId: 1, 236 fileId: 2,
|
| /developtools/smartperf_host/ide/src/trace/database/logic-worker/ |
| D | ProcedureLogicWorkerNativeNemory.ts | 309 let fileName = this.dataCache.dataDict.get(item.fileId); 319 …memory.library = this.groupCutFilePath(frame.fileId, this.dataCache.dataDict.get(frame.fileId) || … 395 …target.library = this.groupCutFilePath(frame.fileId, this.dataCache.dataDict.get(frame.fileId) || … 471 groupCutFilePath(fileId: number, path: string): string { 473 if (this.dataCache.nmFileDict.has(fileId)) { 474 name = this.dataCache.nmFileDict.get(fileId) ?? ''; 477 this.dataCache.nmFileDict.set(fileId, currentPath); 736 key = (callChains[topIndex].symbolId || '') + '-' + (callChains[topIndex].fileId || ''); 743 (callChains[topIndex].fileId || ''); 1015 child.fileId === callChainDataList[index]?.fileId [all …]
|
| D | ProcedureLogicWorkerPerf.ts | 79 this.filesData[file.fileId] = this.filesData[file.fileId] || []; 81 this.filesData[file.fileId].push(file); 378 if (this.filesData[callChain.fileId] && this.filesData[callChain.fileId].length > 0) { 379 callChain.fileName = this.filesData[callChain.fileId][0].fileName; 380 callChain.path = this.filesData[callChain.fileId][0].path; 385 …if (this.filesData[callChain.fileId] && this.filesData[callChain.fileId].length > callChain.symbol… 386 callChain.fileName = this.filesData[callChain.fileId][callChain.symbolId].fileName; 387 callChain.path = this.filesData[callChain.fileId][callChain.symbolId].path; 826 (obj && obj.libId === lastCallChain.fileId && obj.libName === lastCallChain.fileName) || 833 lastCallChain.fileId, [all …]
|