/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerSnapshot.ts | 29 row: TraceRow<SnapshotStruct> 47 SnapshotStruct.draw(req.context, re); 49 SnapshotStruct.hoverSnapshotStruct = re; 54 SnapshotStruct.hoverSnapshotStruct = undefined; 60 filter: Array<SnapshotStruct>, 67 SnapshotStruct.setFrame(file, maxValue, startNs || 0, totalNs || 0, frame); 154 SnapshotStruct.selectSnapshotStruct = 155 SnapshotStruct.hoverSnapshotStruct || (row.getHoverStruct() as SnapshotStruct); 169 SnapshotStruct.selectSnapshotStruct = SnapshotStruct.hoverSnapshotStruct; 171 …sp.traceSheetEL?.displayGpuSelectedData('total', SnapshotStruct.selectSnapshotStruct!.startNs, row… [all …]
|
/developtools/smartperf_host/ide/test/trace/database/data-trafic/ |
D | VmTrackerDataSender.test.ts | 32 import { SnapshotStruct } from '../../../../src/trace/database/ui-worker/ProcedureWorkerSnapshot'; 54 let sMapsTraceRow = TraceRow.skeleton<SnapshotStruct>(); 65 let dmaTraceRow = TraceRow.skeleton<SnapshotStruct>(); 76 let gpuMemoryTraceRow = TraceRow.skeleton<SnapshotStruct>(); 87 let gpuResourceTraceRow = TraceRow.skeleton<SnapshotStruct>(); 98 let gpuGpuTraceRow = TraceRow.skeleton<SnapshotStruct>(); 109 let gpuTotalTraceRow = TraceRow.skeleton<SnapshotStruct>(); 120 let gpuWindowTraceRow = TraceRow.skeleton<SnapshotStruct>(); 131 let shmTraceRow = TraceRow.skeleton<SnapshotStruct>(); 142 let purgeableTraceRow = TraceRow.skeleton<SnapshotStruct>(); [all …]
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | VmTrackerDataSender.ts | 19 import { SnapshotStruct } from '../ui-worker/ProcedureWorkerSnapshot'; 21 …function sMapsDataSender(rowName: string, row: TraceRow<SnapshotStruct>): Promise<SnapshotStruct[]… 50 export function dmaDataSender(ipid: number, row: TraceRow<SnapshotStruct>): Promise<SnapshotStruct[… 79 …unction gpuMemoryDataSender(ipid: number, row: TraceRow<SnapshotStruct>): Promise<SnapshotStruct[]… 107 … gpuResourceDataSender(scratchId: number, row: TraceRow<SnapshotStruct>): Promise<SnapshotStruct[]… 136 …GpuDataSender(ipid: number, name: string, row: TraceRow<SnapshotStruct>): Promise<SnapshotStruct[]… 166 …uTotalDataSender(moduleId: number | null, row: TraceRow<SnapshotStruct>): Promise<SnapshotStruct[]… 198 row: TraceRow<SnapshotStruct> 199 ): Promise<SnapshotStruct[]> { 229 export function shmDataSender(ipid: number, row: TraceRow<SnapshotStruct>): Promise<SnapshotStruct[… [all …]
|
D | AbilityMonitorSender.ts | 21 import { SnapshotStruct } from '../ui-worker/ProcedureWorkerSnapshot';
|
/developtools/smartperf_host/ide/src/trace/component/chart/ |
D | SpVmTrackerChart.ts | 23 import { type SnapshotRender, SnapshotStruct } from '../../database/ui-worker/ProcedureWorkerSnapsh… 156 VmTrackerRow.supplierFrame = (): Promise<Array<SnapshotStruct>> => 157 new Promise<Array<SnapshotStruct>>((resolve) => resolve([])); 186 let sMapsRow = TraceRow.skeleton<SnapshotStruct>(); 198 sMapsRow.supplierFrame = (): Promise<Array<SnapshotStruct>> => 199 new Promise<Array<SnapshotStruct>>((resolve) => resolve([])); 227 private initGpuFolder = async (): Promise<TraceRow<SnapshotStruct>> => { 228 let gpuTraceRow = TraceRow.skeleton<SnapshotStruct>(); 239 gpuTraceRow.supplierFrame = (): Promise<Array<SnapshotStruct>> => 240 new Promise<Array<SnapshotStruct>>((resolve) => resolve([])); [all …]
|
D | SpAbilityMonitorChart.ts | 30 import { type SnapshotRender, SnapshotStruct } from '../../database/ui-worker/ProcedureWorkerSnapsh… 1138 ): TraceRow<SnapshotStruct> { 1139 let abilityMonitor = TraceRow.skeleton<SnapshotStruct>(); 1155 SnapshotStruct.hoverSnapshotStruct = abilityMonitor.getHoverStruct(); 1178 private showTip(traceRow: TraceRow<SnapshotStruct>): void { 1181 SnapshotStruct.hoverSnapshotStruct, 1182 `<span>Name: ${SnapshotStruct.hoverSnapshotStruct?.name || ''}</span> 1183 … <span>Size: ${Utils.getBinaryByteWithUnit(SnapshotStruct.hoverSnapshotStruct?.value || 0)}</span>`
|
/developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
D | ProcedureWorkerSnapshot.test.ts | 17 import { snapshot, SnapshotRender, SnapshotStruct} from '../../../../src/trace/database/ui-worker/P… 88 expect(SnapshotStruct.draw(ctx, data)).toBeUndefined(); 111 expect(SnapshotStruct.setFrame(node, 0, 1, 2, data)).toBeUndefined(); 127 expect(SnapshotStruct).not.toBeUndefined();
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/ |
D | TabPaneSmapsRecord.ts | 23 import { SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; 31 private _GLESHostCache: Array<SnapshotStruct> = []; 35 set GLESHostCache(value: Array<SnapshotStruct>) { 61 …let currentData = this._GLESHostCache.filter((item: SnapshotStruct) => item.startNs === startNs) |…
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/ |
D | TabPaneVmTrackerShmComparison.ts | 18 import { type SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; alias 56 setShmData(data: SnapshotStruct, dataList: Array<SnapshotStruct>): void { 57 let fileArr: SnapshotStruct[] = []; 102 initSelect(fileId: number, fileArr: Array<SnapshotStruct>): void {
|
D | TabPaneVmTrackerShmSelection.ts | 19 import { SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; 32 setShmData(data: SnapshotStruct, dataList: Array<SnapshotStruct>): void { 47 queryDataByDB(data: SnapshotStruct): void {
|
D | TabPaneDmaVmTrackerComparison.ts | 22 import { type SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; alias 60 async comparisonDataByDB(startNs: number, dataList: Array<SnapshotStruct>): Promise<void> { 73 selectStamps(dmaVmTrackerComList: Array<SnapshotStruct>): void {
|
D | TabPaneGpuMemoryVmTrackerComparison.ts | 22 import { type SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; alias 69 async comparisonDataByDB(startNs: number, dataList: Array<SnapshotStruct>): Promise<void> { 85 selectStamps(dataList: Array<SnapshotStruct>): void {
|
/developtools/smartperf_host/ide/src/trace/database/sql/ |
D | Dma.sql.ts | 18 import { SnapshotStruct } from '../ui-worker/ProcedureWorkerSnapshot'; 20 export const queryDmaSampsData = (process: number): Promise<Array<SnapshotStruct>> => 39 export const queryisExistsDmaData = (process: number): Promise<Array<SnapshotStruct>> =>
|
D | Gpu.sql.ts | 16 import type { SnapshotStruct } from '../ui-worker/ProcedureWorkerSnapshot'; 19 export const queryGpuResourceData = (categoryNameId: number): Promise<Array<SnapshotStruct>> => 40 export const queryisExistsGpuResourceData = (categoryNameId: number): Promise<Array<SnapshotStruct>…
|
D | Ability.sql.ts | 27 import type { SnapshotStruct } from '../ui-worker/ProcedureWorkerSnapshot'; 368 export const queryGpuMemoryAbilityData = (): Promise<Array<SnapshotStruct>> => 381 export const queryDmaAbilityData = (): Promise<Array<SnapshotStruct>> =>
|
D | Memory.sql.ts | 16 import type { SnapshotStruct } from '../ui-worker/ProcedureWorkerSnapshot'; 21 export const queryGpuMemoryData = (processId: number): Promise<Array<SnapshotStruct>> => 37 export const queryisExistsGpuMemoryData = (processId: number): Promise<Array<SnapshotStruct>> =>
|
/developtools/smartperf_host/ide/src/trace/component/ |
D | Utils.ts | 16 import { type SnapshotStruct } from '../database/ui-worker/ProcedureWorkerSnapshot'; alias 60 …let isIntersect = (snapshotStruct: SnapshotStruct, rangeSelectStruct: RangeSelectStruct): boolean … 64 let intersectData = row.dataListCache.filter((struct: SnapshotStruct) => {
|
D | SpSystemTrace.ts | 86 import { SnapshotStruct } from '../database/ui-worker/ProcedureWorkerSnapshot'; 1070 SnapshotStruct.hoverSnapshotStruct = undefined; 1098 SnapshotStruct.selectSnapshotStruct = undefined; 1194 …(): boolean => SnapshotStruct.hoverSnapshotStruct !== null && SnapshotStruct.hoverSnapshotStruct !… 1198 …(): boolean => SnapshotStruct.hoverSnapshotStruct !== null && SnapshotStruct.hoverSnapshotStruct !… 1229 …(): boolean => SnapshotStruct.hoverSnapshotStruct !== null && SnapshotStruct.hoverSnapshotStruct !… 1233 …(): boolean => SnapshotStruct.hoverSnapshotStruct !== null && SnapshotStruct.hoverSnapshotStruct !… 1237 …(): boolean => SnapshotStruct.hoverSnapshotStruct !== null && SnapshotStruct.hoverSnapshotStruct !… 1241 …(): boolean => SnapshotStruct.hoverSnapshotStruct !== null && SnapshotStruct.hoverSnapshotStruct !… 1245 …(): boolean => SnapshotStruct.hoverSnapshotStruct !== null && SnapshotStruct.hoverSnapshotStruct !… [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/base/ |
D | TraceSheet.ts | 62 import { type SnapshotStruct } from '../../../database/ui-worker/ProcedureWorkerSnapshot'; alias 665 …displayGpuSelectedData = (type: string, startTs: number, dataList: Array<SnapshotStruct>): void =>… 689 displayShmData = (data: SnapshotStruct, dataList: Array<SnapshotStruct>): void => { 696 displaySmapsData = (data: SnapshotStruct, dataList: Array<SnapshotStruct>): void => { 758 displayPurgTotalAbilityData = (data: SnapshotStruct, dataList: Array<SnapshotStruct>): void => { 769 displayPurgPinAbilityData = (data: SnapshotStruct, dataList: Array<SnapshotStruct>): void => { 777 displayPurgTotalVMData = (data: SnapshotStruct, dataListCache: Array<SnapshotStruct>): void => { 785 displayPurgPinVMData = (data: SnapshotStruct, dataListCache: Array<SnapshotStruct>): void => { 791 displayDmaAbility = (data: number, dataList: Array<SnapshotStruct>): void => { 802 displayDmaVmTracker = (data: number, dataListCache: Array<SnapshotStruct>): void => { [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/ |
D | TabPaneDmaAbilityComparison.ts | 21 import { type SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; alias 66 async comparisonDataByDB(startNs: number, dataList: Array<SnapshotStruct>): Promise<void> { 82 selectStamps(dmaAbilityComList: Array<SnapshotStruct>): void {
|
D | TabPaneGpuMemoryComparison.ts | 21 import { type SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; alias 68 async comparisonDataByDB(startNs: number, dataList: Array<SnapshotStruct>): Promise<void> { 84 selectStamps(gpuMemoryComList: Array<SnapshotStruct>): void {
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/gpu/ |
D | TabPaneGpuClickSelectComparison.ts | 19 import { type SnapshotStruct } from '../../../../database/ui-worker/ProcedureWorkerSnapshot'; alias 64 …async getGpuClickDataByDB(type: string, startTs: number, dataList: Array<SnapshotStruct>): Promise… 103 selectStamps(gpuSelectComList: Array<SnapshotStruct>, type: string): void {
|