Home
last modified time | relevance | path

Searched refs:cpus (Results 1 – 25 of 75) sorted by relevance

123

/developtools/smartperf_host/ide/src/trace/database/sql/
DPerf.sql.ts50 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 …]
DCpu.sql.ts96 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/
DSliceSender.ts37 export function sliceSPTSender(leftNs: number, rightNs: number, cpus: Array<number>, func: string):…
44 cpus: cpus,
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/utils/
Dutils.ts23 export function cpus() { function
24 return os.cpus().length < 16 ? os.cpus().length : 16;
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSPT.ts82 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/
DTabPanePTS.ts38 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 => {
DTabPaneSPT.ts44 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 => {
DTabPaneCpuByThread.ts55 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);
DTabPaneCpuUsage.ts42 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/
DTabPaneCpuByThread.test.ts59 let a = { rightNs: 1, cpus: [11, 12, 13] };
66 let a = { rightNs: 1, cpus: [11, 12, 13] };
DTabPaneCpuUsage.test.ts41 cpus: [1, 0],
195 cpus: [2],
DTabPaneBoxChild.test.ts53 cpus: [],
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/ark-ts/
DTabPaneJsCpu.test.ts46 cpus: [],
70 cpus: [],
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/
Dmodule_hotfix_mode.test.ts35 import { cpus } from '../utils/utils';
38 const fileThreads: number = cpus();
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DTraceSheetConfig.ts157 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.ts109 function setSelectCpus(cpus: number[]): boolean;
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/gpufreq/
DTabPaneGpufreqUsage.test.ts56 cpus: [],
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/energy/
DTabPaneEnergyAnomaly.test.ts88 cpus: [],
DTabPanePowerBattery.test.ts60 cpus: [0],
DTabPanePowerDetails.test.ts85 cpus: [3],
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/process/
DTabPaneSlices.test.ts78 cpus: [],
DTabPaneThreadUsage.test.ts88 cpus: [], variable
/developtools/ace_ets2bundle/compiler/src/
Dgen_merged_abc.ts113 const fileThreads = os.cpus().length < 16 ? os.cpus().length : 16;
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/ability/
DTabPanePurgTotal.test.ts94 cpus: [],
DTabPaneMemoryAbility.test.ts66 cpus: [1],

123