/developtools/smartperf_host/ide/src/trace/database/sql/ |
D | Perf.sql.ts | 50 cpus: Array<number>, 70 if (cpus.length !== 0 || processes.length !== 0 || threads.length !== 0) { 71 let arg1 = cpus.length > 0 ? `or core in (${cpus.join(',')}) ` : ''; 86 cpus: Array<number>, 96 if (cpus.length !== 0 || processes.length !== 0 || threads.length !== 0) { 97 let arg1 = cpus.length > 0 ? `or A.cpu_id in (${cpus.join(',')}) ` : ''; 403 cpus: Array<number>, 418 if (cpus.length > 0) { 419 str = ` and A.cpu_id in (${cpus.join(',')})`; 421 if (cpus.length > 0 && processes.length > 0) { [all …]
|
D | Cpu.sql.ts | 96 export const getTabCpuUsage = (cpus: Array<number>, leftNs: number, rightNs: number): Promise<Array… 116 cpu in (${cpus.join(',')}) 126 export const getTabCpuFreq = (cpus: Array<number>, leftNs: number, rightNs: number): Promise<Array<… 144 cpu in (${cpus.join(',')}) 207 cpus: Array<number>, 225 B.cpu in (${cpus.join(',')}) 234 export const getTabCpuByThread = (cpus: Array<number>, leftNS: number, rightNS: number): Promise<un… 249 TS.cpu in (${cpus.join(',')}) 653 cpus: number[] 660 from sched_slice,trace_range where cpu in (${cpus.join(',')})
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | SliceSender.ts | 37 export function sliceSPTSender(leftNs: number, rightNs: number, cpus: Array<number>, func: string):… 44 cpus: cpus,
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/utils/ |
D | utils.ts | 23 export function cpus() { function 24 return os.cpus().length < 16 ? os.cpus().length : 16;
|
/developtools/smartperf_host/ide/src/trace/database/logic-worker/ |
D | ProcedureLogicWorkerSPT.ts | 82 private sptGetPTS(params: { leftNs: number; rightNs: number; cpus: Array<number> }): void { 86 results: this.getPTSData(params.leftNs, params.rightNs, params.cpus), 89 private sptGetSPT(params: { leftNs: number; rightNs: number; cpus: Array<number> }): void { 93 results: this.getSPTData(params.leftNs, params.rightNs, params.cpus), 103 …private sptGetCpuPriorityByTime(params: { leftNs: number; rightNs: number; cpus: Array<number> }):… 143 private getPTSData(ptsLeftNs: number, ptsRightNs: number, cpus: Array<number>): unknown[] { 147 (it.cpu === null || it.cpu === undefined || cpus.includes(it.cpu)) 241 private getSPTData(sptLeftNs: number, sptRightNs: number, cpus: Array<number>): unknown { 245 (it.cpu === null || it.cpu === undefined || cpus.includes(it.cpu))
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/ |
D | TabPanePTS.ts | 38 this.getDataByPTS(ptsValue.leftNs, ptsValue.rightNs, ptsValue.cpus); 47 getDataByPTS(ptsLeftNs: number, ptsRightNs: number, cpus: Array<number>): void { 49 sliceSPTSender(ptsLeftNs, ptsRightNs, cpus, 'spt-getPTS').then((res): void => {
|
D | TabPaneSPT.ts | 44 this.getDataBySPT(sptValue.leftNs, sptValue.rightNs, sptValue.cpus); 58 getDataBySPT(leftNs: number, rightNs: number, cpus: Array<number>): void { 60 sliceSPTSender(leftNs, rightNs, cpus, 'spt-getSPT').then((res): void => {
|
D | TabPaneCpuByThread.ts | 55 this.cpuByThreadTbl!.innerHTML = this.getTableColumns(cpuByThreadValue.cpus); 66 …getTabCpuByThread(cpuByThreadValue.cpus, cpuByThreadValue.leftNs, cpuByThreadValue.rightNs).then((… 137 for (let i of cpuByThreadValue.cpus) { 184 getTableColumns(cpus: Array<number>): string { 186 let cpuByThreadList = cpus.sort((cpuByThreadA, cpuByThreadB) => cpuByThreadA - cpuByThreadB);
|
D | TabPaneCpuUsage.ts | 42 getTabCpuUsage(cpuUsageValue.cpus, cpuUsageValue.leftNs, cpuUsageValue.rightNs), 44 getTabCpuFreq(cpuUsageValue.cpus, cpuUsageValue.leftNs, cpuUsageValue.rightNs), 53 for (let cpu of cpuUsageValue.cpus) {
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/cpu/ |
D | TabPaneCpuByThread.test.ts | 59 let a = { rightNs: 1, cpus: [11, 12, 13] }; 66 let a = { rightNs: 1, cpus: [11, 12, 13] };
|
D | TabPaneCpuUsage.test.ts | 41 cpus: [1, 0], 195 cpus: [2],
|
D | TabPaneBoxChild.test.ts | 53 cpus: [],
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/ark-ts/ |
D | TabPaneJsCpu.test.ts | 46 cpus: [], 70 cpus: [],
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ |
D | module_hotfix_mode.test.ts | 35 import { cpus } from '../utils/utils'; 38 const fileThreads: number = cpus();
|
/developtools/smartperf_host/ide/src/trace/component/trace/base/ |
D | TraceSheetConfig.ts | 157 require: (param: SelectionParam) => param.cpus.length > 0, 162 require: (param: SelectionParam) => param.cpus.length > 0, 167 require: (param: SelectionParam) => param.cpus.length > 0, 172 require: (param: SelectionParam) => param.cpus.length > 0, 177 require: (param: SelectionParam) => param.cpus.length > 0, 628 require: (param: SelectionParam) => param.cpus.length > 0,
|
/developtools/hiperf/interfaces/kits/js/ |
D | @ohos.hiperf.d.ts | 109 function setSelectCpus(cpus: number[]): boolean;
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/gpufreq/ |
D | TabPaneGpufreqUsage.test.ts | 56 cpus: [],
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/energy/ |
D | TabPaneEnergyAnomaly.test.ts | 88 cpus: [],
|
D | TabPanePowerBattery.test.ts | 60 cpus: [0],
|
D | TabPanePowerDetails.test.ts | 85 cpus: [3],
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/process/ |
D | TabPaneSlices.test.ts | 78 cpus: [],
|
D | TabPaneThreadUsage.test.ts | 88 cpus: [], variable
|
/developtools/ace_ets2bundle/compiler/src/ |
D | gen_merged_abc.ts | 113 const fileThreads = os.cpus().length < 16 ? os.cpus().length : 16;
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/ability/ |
D | TabPanePurgTotal.test.ts | 94 cpus: [],
|
D | TabPaneMemoryAbility.test.ts | 66 cpus: [1],
|