Home
last modified time | relevance | path

Searched refs:CounterStruct (Results 1 – 4 of 4) sorted by relevance

/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProduceWorkerSdkCounter.ts28 row: TraceRow<CounterStruct>
47 CounterStruct.hoverCounterStruct = re;
50 CounterStruct.draw(req.context, re, maxCounter);
53 CounterStruct.hoverCounterStruct = undefined;
79CounterStruct.setCounterFrame(sdkCounterFilters[index], 5, startNS, endNS, totalNS, frame);
106 CounterStruct.setCounterFrame(sdkCounterList[index], 5, startNS, endNS, totalNS, frame);
121 export class CounterStruct extends BaseStruct { class
124 static hoverCounterStruct: CounterStruct | undefined;
125 static selectCounterStruct: CounterStruct | undefined;
131 …static draw(sdkCounterContext: CanvasRenderingContext2D, data: CounterStruct, maxCounter: number) {
[all …]
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProduceWorkerSdkCounter.test.ts22 import { SdkCounterRender, CounterStruct } from '../../../../src/trace/database/ui-worker/ProduceWo…
100 expect(CounterStruct.draw(ctx, data, 1)).toBeUndefined();
122 expect(CounterStruct.setCounterFrame(node, 2, 1, 2, 2, frame)).toBeUndefined();
144 expect(CounterStruct.setCounterFrame(node, 2, 1, 2, 2, frame)).toBeUndefined();
/developtools/smartperf_host/ide/src/trace/database/sql/
DSdk.sql.ts16 import {CounterStruct} from "../ui-worker/ProduceWorkerSdkCounter";
27 ): Promise<Array<CounterStruct>> =>
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpSdkChart.ts20 import { CounterStruct, SdkCounterRender } from '../../database/ui-worker/ProduceWorkerSdkCounter';
233 ): TraceRow<CounterStruct> {
234 let traceRow = TraceRow.skeleton<CounterStruct>();
257 traceRow.supplier = async (): Promise<CounterStruct[]> =>
262 CounterStruct.hoverCounterStruct,
263 `<span>${CounterStruct.hoverCounterStruct?.value?.toFixed(2)}</span>`
267 CounterStruct.hoverCounterStruct = traceRow.getHoverStruct();