Home
last modified time | relevance | path

Searched refs:ns2x (Results 1 – 25 of 41) sorted by relevance

12

/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerLog.ts17 import { drawLoadingFrame, ns2x, Rect, Render } from './ProcedureWorkerCommon';
94 let pre = ns2x(preData.startTs ?? 0, startNS, endNS, totalNS, frame);
95 let current = ns2x(itemLog.startTs || 0, startNS, endNS, totalNS, frame);
144 x1 = ns2x(logNode.startTs || 0, startNS, endNS, totalNS, frame);
149 x2 = ns2x((logNode.startTs || 0) + (logNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerEnergyPower.ts18 ns2x,
238 let endPointX = ns2x((data.ts || 0) + 500000000, startNS, endNS, totalNS, row.frame);
239 let startPointX = ns2x((data.ts || 0) - 500000000, startNS, endNS, totalNS, row.frame);
259 let endPointX = ns2x(
266 let startPointX = ns2x(
298 …let pointX = ns2x(data.ts || 0, TraceRow.range!.startNS, TraceRow.range!.endNS, TraceRow.range!.to…
335 startPointX = ns2x((powerNode.ts || 0) - 500000000, startNS, endNS, totalNS, frame);
340 endPointX = ns2x(powerNode.ts + 500000000, startNS, endNS, totalNS, frame);
DProcedureWorkerProcess.ts25 ns2x,
144 x1 = ns2x(processNode.startTime || 0, startNS, endNS, totalNS, frame);
149 … x2 = ns2x((processNode.startTime || 0) + (processNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerHiSysEvent.ts17 import { BaseStruct, dataFilterHandler, drawLoadingFrame, ns2x, Rect, Render } from './ProcedureWor…
133 x1 = ns2x(sysEventNode.startTs || 0, startNS, endNS, totalNS, frame);
141 … x2 = ns2x((sysEventNode.startTs || 0) + (sysEventNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerCpuAbility.ts21 ns2x,
149 cpuAbilityStartPointX = ns2x(cpuAbilityNode.startNS || 0, startNS, endNS, totalNS, frame);
154 cpuAbilityEndPointX = ns2x(
DProduceWorkerSdkSlice.ts16 import { Render, BaseStruct, isFrameContainPoint, ns2x } from './ProcedureWorkerCommon';
163 sdkSliceStartPointX = ns2x(SdkSliceNode.start_ts || 0, startNS, endNS, totalNS, frame);
168 sdkSliceEndPointX = ns2x(SdkSliceNode.end_ts || 0, startNS, endNS, totalNS, frame);
DProcedureWorkerFrameAnimation.ts23 ns2x,
147 stateStartPointX = ns2x(animationNode.startTs || 0, startNS, endNS, totalNS, frame);
152 …stateEndPointX = ns2x((animationNode.startTs || 0) + (animationNode.dur || 0), startNS, endNS, tot…
DProcedureWorkerFPS.ts16 import { BaseStruct, isFrameContainPoint, ns2x, Rect, Render } from './ProcedureWorkerCommon';
152 fpsLeftPointX = ns2x(fpsNode.startNS || 0, startNS, endNS, totalNS, frame);
157 …fpsRightPointX = ns2x((fpsNode.startNS || 0) + (fpsNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerMemoryAbility.ts22 ns2x,
194 memoryStartPointX = ns2x(memoryNode.startNS || 0, startNS, endNS, totalNS, frame);
199 …memoryEndPointX = ns2x((memoryNode.startNS || 0) + (memoryNode.dur || 0), startNS, endNS, totalNS,…
DProduceWorkerSdkCounter.ts16 import { BaseStruct, isFrameContainPoint, ns2x, Render } from './ProcedureWorkerCommon';
173 sdkCounterStartPointX = ns2x(counterNode.ts || 0, startNS, endNS, totalNS, frame);
178 …sdkCountEndPointX = ns2x((counterNode.ts || 0) + (counterNode.dur || 0), startNS, endNS, totalNS, …
DProcedureWorkerCommon.ts362 export function ns2x(ns: number, startNS: number, endNS: number, duration: number, rect: any) { function
573 selectFlag.x = ns2x(selectFlag.time, startNS, endNS, totalNS, frame);
583 let x1 = ns2x(slicesTime.startTime, startNS, endNS, totalNS, frame);
584 let x2 = ns2x(slicesTime.endTime, startNS, endNS, totalNS, frame);
610 let x1 = ns2x(
617 let x2 = ns2x(
653 selectFlag.x = ns2x(
715ns2x(params.rangeSelectObject!.startNS!, params.startNS, params.endNS, params.totalNS, params.fram…
718ns2x(params.rangeSelectObject!.endNS!, params.startNS, params.endNS, params.totalNS, params.frame)
761 ns2x(
[all …]
DProcedureWorkerEnergyState.ts16 import { BaseStruct, isFrameContainPoint, drawLoadingFrame, ns2x, Render } from './ProcedureWorkerC…
188 stateStartPointX = ns2x(stateNode.startNs || 0, startNS, endNS, totalNS, frame);
193 …stateEndPointX = ns2x((stateNode.startNs || 0) + (stateNode.dur || 0), startNS, endNS, totalNS, fr…
DProcedureWorkerSoInit.ts18 import { BaseStruct, isFrameContainPoint, ns2x, Render, RequestMessage, drawString } from './Proced…
141 x1 = ns2x(soNode.startTs || 0, startNS, endNS, totalNS, frame);
146 x2 = ns2x((soNode.startTs || 0) + (soNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerDiskIoAbility.ts20 ns2x,
193 diskIOStartPointX = ns2x(diskIONode.startNS || 0, startNS, endNS, totalNS, frame);
198 …diskIOEndPointX = ns2x((diskIONode.startNS || 0) + (diskIONode.dur || 0), startNS, endNS, totalNS,…
DProcedureWorkerHeap.ts16 import { Rect, Render, isFrameContainPoint, ns2x, drawLoadingFrame } from './ProcedureWorkerCommon';
162 x1 = ns2x(node.startTime || 0, startNS, endNS, totalNS, frame);
167 x2 = ns2x(
DProcedureWorkerCpuProfiler.ts22 ns2x,
219 x1 = ns2x(jsCpuProfilerNode.startTime || 0, startNS, endNS, totalNS, frame);
227 x2 = ns2x(
DProcedureWorkerEnergySystem.ts20 ns2x,
252 systemStartPointX = ns2x(systemNode.startNs || 0, startNS, endNS, totalNS, frame);
257 …systemEndPointX = ns2x((systemNode.startNs || 0) + (systemNode.dur || 0), startNS, endNS, totalNS,…
DProcedureWorkerJank.ts23 ns2x,
168 x1 = ns2x(jankNode.ts || 0, startNS, endNS, totalNS, frame);
173 x2 = ns2x((jankNode.ts || 0) + (jankNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerFunc.ts21 ns2x,
162 x1 = ns2x(funcNode.startTs || 0, startNS, endNS, totalNS, frame);
170 x2 = ns2x((funcNode.startTs || 0) + (funcNode.dur || 0), startNS, endNS, totalNS, frame);
/developtools/smartperf_host/ide/src/trace/component/chart/
DVSync.ts93 let x = ns2x(it.startTime, width);
94 let x2 = ns2x(it.startTime + it.dur, width);
140 function ns2x(ns: number, width: number): number { function
/developtools/smartperf_host/ide/src/trace/bean/
DFpsStruct.ts19 import { ns2x } from '../component/trace/TimerShaftElement';
98 fpsBeanStructX1 = ns2x(fpsBeanStructNode.startNS || 0, startNS, endNS, totalNS, frame);
103 fpsBeanStructX2 = ns2x(
/developtools/smartperf_host/ide/test/trace/component/trace/
DTimerShaftElement.test.ts23 import { TimerShaftElement, ns2s, ns2x } from '../../../../src/trace/component/trace/TimerShaftElem…
127 expect(ns2x(1, 3, 4, 4, { width: 1 })).toBe(0);
192 expect(ns2x(1, 3, 0, 4, { width: 1 })).toBe(0);
/developtools/smartperf_host/ide/src/trace/database/ui-worker/hiperf/
DProcedureWorkerHiPerfCallChart.ts20 ns2x,
102 x1 = ns2x(hiPerfNode.startTime || 0, startNS, endNS, totalNS, frame);
110 …x2 = ns2x((hiPerfNode.startTime || 0) + (hiPerfNode.totalTime || 0), startNS, endNS, totalNS, fram…
/developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/
DProcedureWorkerCpuFreqLimits.ts21 ns2x,
176 x1 = ns2x(freqLimitNode.startNs || 0, startNS, endNS, totalNS, frame);
181 …x2 = ns2x((freqLimitNode.startNs || 0) + (freqLimitNode.dur || 0), startNS, endNS, totalNS, frame);
DProcedureWorkerCpuState.ts25 ns2x,
240 x1 = ns2x(cpuStateNode.startTs || 0, startNS, endNS, totalNS, frame);
245 … x2 = ns2x((cpuStateNode.startTs || 0) + (cpuStateNode.dur || 0), startNS, endNS, totalNS, frame);

12