• Home
  • Raw
  • Download

Lines Matching refs:funcRow

113         let funcRow = TraceRow.skeleton<FuncStruct>();
114 funcRow.rowId = `${asyncFuncGroups[0].funName}-${key}`;
115 funcRow.asyncFuncName = asyncFuncGroups[0].funName;
116 funcRow.asyncFuncNamePID = key;
117 funcRow.rowType = TraceRow.ROW_TYPE_FUNC;
118 funcRow.enableCollapseChart(); //允许折叠泳道图
119 funcRow.rowParentId = `${row.rowId}`;
120 funcRow.rowHidden = !row.expansion;
121 funcRow.style.width = '100%';
122 funcRow.name = `${asyncFuncGroups[0].funName} ${key}`;
123 funcRow.setAttribute('children', '');
124 funcRow.supplierFrame = () => {
125 return processDeliverInputEventDataSender(key, funcRow!).then((res: Array<any>) => {
147 if (funcRow && !funcRow.isComplete) {
150 funcRow.style.height = `${maxHeight}px`;
151 funcRow.setAttribute('height', `${maxHeight}`);
156 funcRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
157 funcRow.selectChangeHandler = this.trace.selectChangeHandler;
158 funcRow.onThreadHandler = (useCache): void => {
160 if (funcRow.currentContext) {
161 context = funcRow.currentContext;
163 … context = funcRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
165 funcRow.canvasSave(context);
172 funcRow
174 funcRow.canvasRestore(context, this.trace);
176 row.addChildTraceRow(funcRow);
632 let funcRow = TraceRow.skeleton<FuncStruct>();
633 funcRow.rowId = `${asyncFunctions[0].funName}-${it.pid}`;
634 funcRow.asyncFuncName = asyncFunctions[0].funName;
635 funcRow.asyncFuncNamePID = it.pid;
636 funcRow.rowType = TraceRow.ROW_TYPE_FUNC;
637 funcRow.enableCollapseChart(); //允许折叠泳道图
638 funcRow.rowParentId = `${it.pid}`;
639 funcRow.rowHidden = !processRow.expansion;
640 funcRow.style.width = '100%';
641 funcRow.style.height = `${maxHeight}px`;
642 funcRow.setAttribute('height', `${maxHeight}`);
643 funcRow.name = `${asyncFunctions[0].funName}`;
644 funcRow.setAttribute('children', '');
645 funcRow.supplier = (): Promise<any> => new Promise((resolve) => resolve(asyncFunctions));
646 funcRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
647 funcRow.selectChangeHandler = this.trace.selectChangeHandler;
648 funcRow.onThreadHandler = (cacheFlag): void => {
650 if (funcRow.currentContext) {
651 context = funcRow.currentContext;
653 … context = funcRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
655 funcRow.canvasSave(context);
662 funcRow
664 funcRow.canvasRestore(context, this.trace);
666 processRow.addChildTraceRow(funcRow);
803 let funcRow = TraceRow.skeleton<FuncStruct>();
804 funcRow.rowId = `${thread.tid}`;
805 funcRow.rowType = TraceRow.ROW_TYPE_FUNC;
806 funcRow.enableCollapseChart(); //允许折叠泳道图
807 funcRow.rowParentId = `${it.pid}`;
808 funcRow.rowHidden = !processRow.expansion;
809 funcRow.checkType = threadRow.checkType;
810 funcRow.style.width = '100%';
811 funcRow.style.height = `${maxHeight}px`;
812 funcRow.name = `${thread.threadName || 'Thread'} ${thread.tid}`;
813 funcRow.setAttribute('children', '');
814 funcRow.supplierFrame = (): Promise<Array<FuncStruct>> => {
815 return funcDataSender(thread.tid || 0, thread.upid || 0, funcRow).then(
818 funcRow.rowDiscard = true;
843 funcRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
844 funcRow.selectChangeHandler = this.trace.selectChangeHandler;
845 funcRow.onThreadHandler = (useCache): void => {
847 if (funcRow.currentContext) {
848 context = funcRow.currentContext;
850 … context = funcRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
852 funcRow.canvasSave(context);
859 funcRow
861 funcRow.canvasRestore(context, this.trace);
863 processRow.addChildTraceRowAfter(funcRow, threadRow);