Home
last modified time | relevance | path

Searched refs:fileStruct (Results 1 – 9 of 9) sorted by relevance

/developtools/profiler/host/smartperf/ide/src/js-heap/
DLoadDatabase.ts47 let fileStruct = new FileStruct(); variable
48 fileStruct.id = row.id;
49 fileStruct.name = row.name;
50 fileStruct.startTs = row.startTs;
51 fileStruct.endTs = row.endTs;
52 fileStruct.pid = row.pid;
53 fileStruct.size = row.size;
54 if (fileStruct.name.startsWith('Snapshot')) {
55 fileStruct.type = FileType.SNAPSHOT;
57 fileStruct.type = FileType.TIMELINE;
[all …]
DHeapDataInterface.ts47 for (let fileStruct of this.fileStructs) { variable
48 if (fileStruct.id == id) {
49 return fileStruct;
258 for (let fileStruct of fileModule) { variable
259 let heapLoader = new HeapLoader(fileStruct);
260 fileStruct.heapLoader = heapLoader;
261 percent = 50 + Math.floor(50 / fileModule.length) * (fileModule.indexOf(fileStruct) + 1);
262 this.parseListener.process('parsing data of ' + fileStruct.name + ' ', percent);
/developtools/smartperf_host/ide/src/js-heap/
DLoadDatabase.ts46 let fileStruct = new FileStruct(); variable
47 fileStruct.id = row.id;
48 fileStruct.name = row.name;
49 fileStruct.startTs = row.startTs;
50 fileStruct.endTs = row.endTs;
51 fileStruct.pid = row.pid;
52 fileStruct.size = row.size;
53 if (fileStruct.name.startsWith('Snapshot')) {
54 fileStruct.type = FileType.SNAPSHOT;
56 fileStruct.type = FileType.TIMELINE;
[all …]
DHeapDataInterface.ts46 for (let fileStruct of this.fileStructs) { variable
47 if (fileStruct.id == id) {
48 return fileStruct;
257 for (let fileStruct of fileModule) { variable
258 let heapLoader = new HeapLoader(fileStruct);
259 fileStruct.heapLoader = heapLoader;
260 percent = 50 + Math.floor(50 / fileModule.length) * (fileModule.indexOf(fileStruct) + 1);
/developtools/smartperf_host/ide/src/js-heap/logic/
DAllocation.ts20 private fileStruct: FileStruct; property in AllocationLogic
24 constructor(fileStruct: FileStruct) {
25 this.fileStruct = fileStruct;
27 this.traceNodes = this.fileStruct.snapshotStruct.traceNodes;
77 functionList.push(this.fileStruct.snapshotStruct.functionInfos[node.functionIndex]);
DHeapLoader.ts37 private fileStruct: FileStruct; property in HeapLoader
54 constructor(fileStruct: FileStruct) {
55 this.fileStruct = fileStruct;
56 this.fileId = fileStruct.id;
57 this.nodeCount = fileStruct.snapshotStruct.nodeCount;
58 this.edgeCount = fileStruct.snapshotStruct.edgeCount;
59 this.nodeMap = fileStruct.snapshotStruct.nodeMap;
60 this.edges = fileStruct.snapshotStruct.edges;
61 this.allocationLogic = new AllocationLogic(this.fileStruct);
477 let samples = this.fileStruct.snapshotStruct.samples;
/developtools/profiler/host/smartperf/ide/src/js-heap/logic/
DAllocation.ts20 private fileStruct: FileStruct; property in AllocationLogic
24 constructor(fileStruct: FileStruct) {
25 this.fileStruct = fileStruct;
27 this.traceNodes = this.fileStruct.snapshotStruct.traceNodes;
77 functionList.push(this.fileStruct.snapshotStruct.functionInfos[node.functionIndex]);
DHeapLoader.ts37 private fileStruct: FileStruct; property in HeapLoader
54 constructor(fileStruct: FileStruct) {
55 this.fileStruct = fileStruct;
56 this.fileId = fileStruct.id;
57 this.nodeCount = fileStruct.snapshotStruct.nodeCount;
58 this.edgeCount = fileStruct.snapshotStruct.edgeCount;
59 this.nodeMap = fileStruct.snapshotStruct.nodeMap;
60 this.edges = fileStruct.snapshotStruct.edges;
61 this.allocationLogic = new AllocationLogic(this.fileStruct);
477 let samples = this.fileStruct.snapshotStruct.samples;
/developtools/smartperf_host/ide/test/js-heap/model/
DDatabaseStruct.test.ts46 let fileStruct = new FileStruct(); variable
47 expect(fileStruct).not.toBeUndefined();