| /developtools/smartperf_host/ide/src/trace/database/logic-worker/ |
| D | ProcedureLogicWorkerSPT.ts | 129 let title = `S-${slice.state}`; 145 let state = thread.children.find((child: any) => child.title === `S-${slice.state}`); variable 146 if (state) { 147 state.count += 1; 148 state.wallDuration += slice.dur; 149 state.minDuration = Math.min(state.minDuration, slice.dur!); 150 state.maxDuration = Math.max(state.maxDuration, slice.dur!); 151 state.avgDuration = (state.wallDuration / state.count).toFixed(2); 169 state: slice.state, 226 state: slice.state, [all …]
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | tracked_command_test.cpp | 53 auto state = trackedCMD->GetState(); variable 54 EXPECT_EQ(state, TrackedCommand::State::COMMAND_WAITING); 59 state = trackedCMD->GetState(); 60 EXPECT_EQ(state, TrackedCommand::State::COMMAND_STARTED); 63 state = trackedCMD->GetState(); 65 EXPECT_EQ(state, TrackedCommand::State::COMMAND_STOPPED); 67 EXPECT_NE(state, TrackedCommand::State::COMMAND_STOPPED); 77 auto state = trackedCMD->GetState(); variable 78 EXPECT_EQ(state, TrackedCommand::State::COMMAND_WAITING); 83 state = trackedCMD->GetState(); [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | StackBar.ts | 31 if (map.has(v.state)) { 32 let sv = map.get(v.state); 34 sv!.state = v.state + ' : ' + sv!.value.toFixed(5) + 'ms'; 38 sv.state = v.state + ' : ' + sv.value.toFixed(5) + 'ms'; 40 map.set(v.state, sv); 82 getStateWidth(state: string): number { 86 let metrics = context!.measureText(state); 93 bar.setAttribute('need-width', this.getStateWidth(sv.state) + ''); 95 bar.textContent = sv.state; 96 if (sv.state.startsWith('Sleeping')) { [all …]
|
| /developtools/profiler/device/plugins/memory_plugin/test/utresources/proc/ |
| D | window_manager_service.txt | 36 state #BACKGROUND 37 app state #BACKGROUND 44 state #BACKGROUND 45 app state #BACKGROUND 52 state #BACKGROUND 53 app state #BACKGROUND 60 state #BACKGROUND 61 app state #BACKGROUND 68 state #BACKGROUND 69 app state #BACKGROUND [all …]
|
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | ThreadStruct.ts | 46 state: string | undefined; property in ThreadStruct 52 let stateText = threadBeanStructData.state || ''; 53 if ('S' == threadBeanStructData.state) { 63 } else if ('R' == threadBeanStructData.state) { 66 } else if ('D' == threadBeanStructData.state) { 69 } else if ('Running' == threadBeanStructData.state) { 79 ThreadStruct.selectThreadStruct.state != 'S' 105 ThreadStruct.getEndState(threadBeanStructData.state || ''), 112 static getEndState(state: string): string { 113 let statusMapElement = Utils.getEndState(state); [all …]
|
| D | SchedSwitchStruct.ts | 26 state?: string = ''; 50 state: string = ''; property in ThreadInitConfig 63 state: string = ''; property in SchedThreadCutConfig
|
| D | StateProcessThread.ts | 19 state?: string; 37 state: string = ''; property in SPTChild
|
| /developtools/smartperf_host/ide/test/trace/bean/ |
| D | ThreadStruct.test.ts | 34 state: '', 40 state: 1, 49 dataSource.state = 'S'; 54 dataSource.state = 'R'; 59 dataSource.state = 'D'; 64 dataSource.state = 'Running'; 69 dataSource.state = 'T' || 't'; 82 dataSource.state = 'ThreadStructTest10';
|
| D | BoxSelection.test.ts | 69 state: '', 78 state: expect.any(String), 101 state: 'state', 123 state: expect.any(String),
|
| /developtools/smartperf_host/ide/src/trace/database/data-trafic/utils/ |
| D | QueryEnum.ts | 94 export function threadStateToNumber(state: string): number { 95 return threadStateArray.findIndex((it) => it === state); 97 export function threadStateToString(state: number): string { 98 if (state === -1) { 101 return threadStateArray[state];
|
| /developtools/smartperf_host/ide/test/trace/component/trace/sheet/cpu/ |
| D | TabPaneSPT.test.ts | 49 state: '', 62 state: '', 75 state: '', 95 state: '', 115 state: '', 136 state: '',
|
| D | TabPanePTS.test.ts | 38 state: '', 51 state: '', 64 state: '', 84 state: '', 105 state: '0',
|
| D | TabPaneCounterSample.test.ts | 47 state: '', 60 state: '', 73 state: '', 92 state: 'a',
|
| D | TabPaneFrequencySample.test.ts | 47 state: '', 60 state: '', 73 state: '', 92 state: '',
|
| D | TabPaneBoxChild.test.ts | 45 state: 2, 63 state:'', 89 state: true,
|
| /developtools/smartperf_host/ide/src/trace/component/trace/base/ |
| D | Utils.ts | 73 public static getEndState(state: string): string { 74 if (Utils.getInstance().getStatusMap().has(state)) { 75 return Utils.getInstance().getStatusMap().get(state) || 'Unknown State'; 77 if ('' === state || state === null) { 123 public static getStateColor(state: string): string { 124 if (state === 'D-NIO' || state === 'DK-NIO') { 126 } else if (state === 'D-IO' || state === 'DK-IO' || state === 'D' || state === 'DK') { 128 } else if (state === 'R' || state === 'R+') { 130 } else if (state === 'R-B') { 132 } else if (state === 'I') { [all …]
|
| /developtools/smartperf_host/ide/src/trace/database/data-trafic/process/ |
| D | ThreadDataReceiver.ts | 66 (a) => a.state === 'Running' 83 let state = new Int32Array(transfer ? res.length : data.params.sharedArrayBuffers.state); 93 state[i] = threadStateToNumber(it.state); 105 state: state.buffer, 118 …? [startTime.buffer, dur.buffer, cpu.buffer, id.buffer, tid.buffer, state.buffer, pid.buffer, argS…
|
| D | ThreadDataSender.ts | 29 state: new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * MAX_COUNT), 66 let state = new Int32Array(buffers.state); 76 state: threadStateToString(state[i]),
|
| /developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
| D | ProcedureWorkerThread.test.ts | 67 state: 'S', 87 state: 'R', 107 state: 'D', 127 state: 'Running', 147 state: 'T', 156 state: '', 163 state: '',
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/process/ |
| D | TabPaneThreadStates.ts | 83 let key = `${current.state}-${mapKey}`; 94 map.get(`${pre.state}-${mapKey}`).wallDuration += pre.dur; 116 state: current.state, 139 let key = `${item.state}-${item.pid}-${item.tid}`; 146 state: item.state, 174 e.stateJX = e.state; 175 e.state = Utils.getEndState(e.stateJX); 186 count.state = ' ';
|
| /developtools/profiler/protos/types/plugins/ftrace_data/default/ |
| D | power.proto | 24 uint64 state = 2; field 31 uint64 state = 2; field 38 uint64 state = 2; field 44 uint32 state = 1; field 57 uint32 state = 1; field 140 uint64 state = 2; field 167 uint64 state = 2; field 173 uint64 state = 2; field
|
| /developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/ |
| D | power.proto | 24 uint64 state = 2; field 31 uint64 state = 2; field 38 uint64 state = 2; field 44 uint32 state = 1; field 57 uint32 state = 1; field 140 uint64 state = 2; field 167 uint64 state = 2; field 173 uint64 state = 2; field
|
| /developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/ |
| D | power.proto | 24 uint64 state = 2; field 31 uint64 state = 2; field 38 uint64 state = 2; field 44 uint32 state = 1; field 57 uint32 state = 1; field 140 uint64 state = 2; field 167 uint64 state = 2; field 173 uint64 state = 2; field
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerThread.ts | 98 let stateText = ThreadStruct.getEndState(data.state || ''); 99 threadContext.fillStyle = Utils.getStateColor(data.state || ''); 100 if ('S' === data.state) { 107 if ('S' !== data.state) { 113 ThreadStruct.selectThreadStruct.state != 'S'
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/ |
| D | TabPaneSchedPriority.ts | 87 if (['R', 'R+'].includes(item.state)) { 111 runningPriority.state = 'Running'; 120 runnablePriority.state = 'Runnable'; 183 if (stateMap.has(priorityItem.priorityType + '_' + priorityItem.state)) { 184 const ptsPtMapObj = stateMap.get(priorityItem.priorityType + '_' + priorityItem.state); 196 ptsPtMapObj.title = priorityItem.state; 202 stateMap.set(priorityItem.priorityType + '_' + priorityItem.state, ptsPtMapObj);
|