Home
last modified time | relevance | path

Searched refs:ClockStruct (Results 1 – 15 of 15) sorted by relevance

/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerClock.ts30 row: TraceRow<ClockStruct>
32 ClockStruct.index = clockReq.index;
48 ClockStruct.draw(clockReq.context, re, clockReq.maxValue);
50 ClockStruct.hoverClockStruct = re;
54 if (!find && row.isHover) ClockStruct.hoverClockStruct = undefined;
68 export class ClockStruct extends BaseStruct { class
71 static hoverClockStruct: ClockStruct | undefined;
72 static selectClockStruct: ClockStruct | undefined;
80 static draw(clockContext: CanvasRenderingContext2D, data: ClockStruct, maxValue: number) {
83 clockContext.fillStyle = ColorUtils.colorForTid(ClockStruct.index);
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerClock.ts30 row: TraceRow<ClockStruct>
32 ClockStruct.index = clockReq.index;
48 ClockStruct.draw(clockReq.context, re, clockReq.maxValue);
50 ClockStruct.hoverClockStruct = re;
54 if (!find && row.isHover) ClockStruct.hoverClockStruct = undefined;
68 export class ClockStruct extends BaseStruct { class
71 static hoverClockStruct: ClockStruct | undefined;
72 static selectClockStruct: ClockStruct | undefined;
80 static draw(clockContext: CanvasRenderingContext2D, data: ClockStruct, maxValue: number) {
83 clockContext.fillStyle = ColorUtils.colorForTid(ClockStruct.index);
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/bean/
DBoxSelection.ts17 import { ClockStruct } from '../database/ui-worker/ProcedureWorkerClock.js';
47 clockMapData: Map<string, Array<ClockStruct>> = new Map<string, Array<ClockStruct>>();
/developtools/profiler/host/smartperf/ide/src/trace/component/chart/
DSpClockChart.ts21 import { ClockRender, ClockStruct } from '../../database/ui-worker/ProcedureWorkerClock.js';
46 ClockStruct.maxValue = clockList.map((item) => item.num).reduce((a, b) => Math.max(a, b));
50 let traceRow = TraceRow.skeleton<ClockStruct>();
99 ClockStruct.hoverClockStruct,
100 `<span>${ColorUtils.formatNumberComma(ClockStruct.hoverClockStruct?.value!)}</span>`
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpClockChart.ts21 import { ClockRender, ClockStruct } from '../../database/ui-worker/ProcedureWorkerClock.js';
46 ClockStruct.maxValue = clockList.map((item) => item.num).reduce((a, b) => Math.max(a, b));
50 let traceRow = TraceRow.skeleton<ClockStruct>();
99 ClockStruct.hoverClockStruct,
100 `<span>${ColorUtils.formatNumberComma(ClockStruct.hoverClockStruct?.value!)}</span>`
/developtools/smartperf_host/ide/src/trace/bean/
DBoxSelection.ts17 import { ClockStruct } from '../database/ui-worker/ProcedureWorkerClock.js';
51 clockMapData: Map<string, Array<ClockStruct>> = new Map<string, Array<ClockStruct>>();
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerClock.test.ts23 import { ClockStruct, ClockRender } from '../../../../dist/trace/database/ui-worker/ProcedureWorker…
45 expect(ClockStruct.draw(ctx!, data, 2)).toBeUndefined();
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/
DTraceSheet.ts34 import { ClockStruct } from '../../../database/ui-worker/ProcedureWorkerClock.js';
361 displayClockData = (data: ClockStruct) =>
/developtools/profiler/host/smartperf/ide/src/trace/database/
DSqlLite.ts69 import { ClockStruct } from './ui-worker/ProcedureWorkerClock.js';
3813 export const queryClockFrequency = (clockName: string): Promise<Array<ClockStruct>> =>
3824 export const queryClockState = (clockName: string): Promise<Array<ClockStruct>> =>
3837 export const queryScreenState = (): Promise<Array<ClockStruct>> =>
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DTraceSheet.ts34 import { ClockStruct } from '../../../database/ui-worker/ProcedureWorkerClock.js';
401 displayClockData = (data: ClockStruct): void =>
/developtools/smartperf_host/ide/src/trace/database/
DSqlLite.ts73 import { ClockStruct } from './ui-worker/ProcedureWorkerClock.js';
3953 export const queryClockFrequency = (clockName: string): Promise<Array<ClockStruct>> =>
3964 export const queryClockState = (clockName: string): Promise<Array<ClockStruct>> =>
3977 export const queryScreenState = (): Promise<Array<ClockStruct>> =>
/developtools/profiler/host/smartperf/ide/src/trace/component/
DSpSystemTrace.ts71 import { ClockStruct } from '../database/ui-worker/ProcedureWorkerClock.js';
1653 ClockStruct.hoverClockStruct = undefined;
1671 ClockStruct.selectClockStruct = undefined;
1772 () => ClockStruct.hoverClockStruct !== null && ClockStruct.hoverClockStruct !== undefined,
2015 } else if (clickRowType === TraceRow.ROW_TYPE_CLOCK && ClockStruct.hoverClockStruct) {
2016 ClockStruct.selectClockStruct = ClockStruct.hoverClockStruct;
2017 this.traceSheetEL?.displayClockData(ClockStruct.selectClockStruct);
/developtools/smartperf_host/ide/src/trace/component/
DSpSystemTrace.ts71 import { ClockStruct } from '../database/ui-worker/ProcedureWorkerClock.js';
2010 ClockStruct.hoverClockStruct = undefined;
2033 ClockStruct.selectClockStruct = undefined;
2139 () => ClockStruct.hoverClockStruct !== null && ClockStruct.hoverClockStruct !== undefined,
2511 } else if (clickRowType === TraceRow.ROW_TYPE_CLOCK && ClockStruct.hoverClockStruct) {
2512 ClockStruct.selectClockStruct = ClockStruct.hoverClockStruct;
2513 this.traceSheetEL?.displayClockData(ClockStruct.selectClockStruct);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/
DTabPaneCurrentSelection.ts41 import { ClockStruct } from '../../../database/ui-worker/ProcedureWorkerClock.js';
362 setClockData(data: ClockStruct) {
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/
DTabPaneCurrentSelection.ts40 import { ClockStruct } from '../../../database/ui-worker/ProcedureWorkerClock.js';
356 setClockData(data: ClockStruct): void {