Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 150) sorted by relevance

123456

/developtools/hiperf/test/unittest/common/native/
Dtracked_command_test.cpp53 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/
DStackBar.ts31 if (map.has(v.state)) {
32 let sv = map.get(v.state);
34 sv!.state = v.state + ' : ' + sv!.value.toFixed(7) + 'ms';
38 sv.state = v.state + ' : ' + sv.value.toFixed(7) + '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/host/smartperf/ide/src/trace/component/
DStackBar.ts31 if (map.has(v.state)) {
32 let sv = map.get(v.state);
34 sv!.state = v.state + ' : ' + sv!.value.toFixed(7) + 'ms';
38 sv.state = v.state + ' : ' + sv.value.toFixed(7) + '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/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSPT.ts122 spt.state = tr.state;
196 if (ptsMap.has(d.processId + '_' + d.threadId + '_' + d.state)) {
197 let ptsPtsMapObj = ptsMap.get(d.processId + '_' + d.threadId + '_' + d.state);
209 …sMapObj.id = 'p' + d.processId + '_' + 't' + d.threadId + '_' + (d.state == 'R+' ? 'RP' : d.state);
211 ptsPtsMapObj.title = Utils.getEndState(d.state);
216 ptsPtsMapObj.state = d.state;
222 ptsMap.set(d.processId + '_' + d.threadId + '_' + d.state, ptsPtsMapObj);
254 if (statesMap.has(d.state)) {
255 let sptStateMapObj = statesMap.get(d.state);
267 sptStateMapObj.id = d.state == 'R+' ? 'RP' : d.state;
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSPT.ts158 spt.state = tr.state;
232 if (ptsMap.has(d.processId + '_' + d.threadId + '_' + d.state)) {
233 let ptsPtsMapObj = ptsMap.get(d.processId + '_' + d.threadId + '_' + d.state);
245 …sMapObj.id = 'p' + d.processId + '_' + 't' + d.threadId + '_' + (d.state == 'R+' ? 'RP' : d.state);
247 ptsPtsMapObj.title = Utils.getEndState(d.state);
252 ptsPtsMapObj.state = d.state;
258 ptsMap.set(d.processId + '_' + d.threadId + '_' + d.state, ptsPtsMapObj);
290 if (statesMap.has(d.state)) {
291 let sptStateMapObj = statesMap.get(d.state);
303 sptStateMapObj.id = d.state == 'R+' ? 'RP' : d.state;
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/bean/
DThreadStruct.ts44 state: string | undefined; property in ThreadStruct
50 let stateText = threadBeanStructData.state || '';
51 if ('S' == threadBeanStructData.state) {
56 } else if ('R' == threadBeanStructData.state) {
59 } else if ('D' == threadBeanStructData.state) {
62 } else if ('Running' == threadBeanStructData.state) {
72 ThreadStruct.selectThreadStruct.state != 'S'
86 …drawString(threadBeanCanvasCtx, ThreadStruct.getEndState(threadBeanStructData.state || ''), 2, thr…
89 static getEndState(state: string): string {
90 let statusMapElement = Utils.getEndState(state);
[all …]
DStateProcessThread.ts25 state: string = ''; property in StateProcessThread
41 state: string = ''; property in SPTChild
58 state: string = ''; property in SPT
69 state: string = ''; property in ThreadState
/developtools/smartperf_host/ide/src/trace/bean/
DThreadStruct.ts44 state: string | undefined; property in ThreadStruct
50 let stateText = threadBeanStructData.state || '';
51 if ('S' == threadBeanStructData.state) {
56 } else if ('R' == threadBeanStructData.state) {
59 } else if ('D' == threadBeanStructData.state) {
62 } else if ('Running' == threadBeanStructData.state) {
72 ThreadStruct.selectThreadStruct.state != 'S'
86 …drawString(threadBeanCanvasCtx, ThreadStruct.getEndState(threadBeanStructData.state || ''), 2, thr…
89 static getEndState(state: string): string {
90 let statusMapElement = Utils.getEndState(state);
[all …]
DStateProcessThread.ts25 state: string = ''; property in StateProcessThread
41 state: string = ''; property in SPTChild
56 state: string = ''; property in SPT
/developtools/smartperf_host/ide/test/trace/bean/
DThreadStruct.test.ts35 state: '',
41 state: 1,
50 dataSource.state = 'S';
55 dataSource.state = 'R';
60 dataSource.state = 'D';
65 dataSource.state = 'Running';
70 dataSource.state = 'T' || 't';
83 dataSource.state = 'ThreadStructTest10';
DStateProcessThread.test.ts34 state: 'state',
86 state: 'state',
105 state: expect.any(String),
142 state: 'state',
157 state: expect.any(String),
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/cpu/
DTabPaneSPT.test.ts53 state: '',
66 state: '',
79 state: '',
99 state: '',
119 state: '',
140 state: '',
159 state: 'state',
DTabPanePTS.test.ts54 state: '',
67 state: '',
80 state: '',
100 state: '',
121 state: '0',
140 state: 'state',
DTabPaneCounterSample.test.ts47 state: '',
60 state: '',
73 state: '',
92 state: 'a',
DTabPaneFrequencySample.test.ts47 state: '',
60 state: '',
73 state: '',
92 state: '',
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DUtils.ts70 public static getEndState(state: string): string {
71 if (Utils.getInstance().getStatusMap().has(state)) {
72 return Utils.getInstance().getStatusMap().get(state) || 'Unknown State';
74 if ('' == state || state == null) {
81 public static getStateColor(state: string): string {
82 if (state == 'D-NIO' || state == 'DK-NIO') {
84 } else if (state == 'D-IO' || state == 'DK-IO' || state == 'D' || state == 'DK') {
86 } else if (state == 'R' || state == 'R+') {
88 } else if (state == 'I') {
90 } else if (state == 'Running') {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/
DUtils.ts70 public static getEndState(state: string): string {
71 if (Utils.getInstance().getStatusMap().has(state)) {
72 return Utils.getInstance().getStatusMap().get(state) || 'Unknown State';
74 if ('' == state || state == null) {
81 public static getStateColor(state: string): string {
82 if (state == 'D-NIO' || state == 'DK-NIO') {
84 } else if (state == 'D-IO' || state == 'DK-IO' || state == 'D' || state == 'DK') {
86 } else if (state == 'R' || state == 'R+') {
88 } else if (state == 'I') {
90 } else if (state == 'Running') {
[all …]
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerThread.test.ts70 state: 'S',
90 state: 'R',
110 state: 'D',
130 state: 'Running',
150 state: 'T',
159 state: '',
166 state: '',
/developtools/smartperf_host/ide/test/trace/component/chart/
DSpHiSysEventChart.test.ts216 { count: 1, startNs: 210000001, state: 'start', type: 2 },
217 { count: 2, startNs: 3005933657, state: 'start', type: 2 },
218 { count: 1, startNs: 4005938319, state: 'stop', type: 2 },
219 { count: 2, startNs: 5005933657, state: 'start', type: 2 },
220 { count: 3, startNs: 6005938319, state: 'start', type: 2 },
221 { count: 4, startNs: 9005938319, state: 'start', type: 2 },
222 { count: 5, startNs: 10005938319, state: 'start', type: 2 },
/developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerThread.ts81 let stateText = ThreadStruct.getEndState(data.state || '');
82 threadContext.fillStyle = Utils.getStateColor(data.state || '');
83 if ('S' === data.state) {
90 if ('S' !== data.state) {
96 ThreadStruct.selectThreadStruct.state != 'S'
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerThread.ts81 let stateText = ThreadStruct.getEndState(data.state || '');
82 threadContext.fillStyle = Utils.getStateColor(data.state || '');
83 if ('S' === data.state) {
90 if ('S' !== data.state) {
96 ThreadStruct.selectThreadStruct.state != 'S'
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/
DTabPaneBoxChild.ts36 boxChildValue.state != null &&
37 boxChildValue.state != undefined &&
62 …getTabBoxChildData(val.leftNs, val.rightNs, val.state, val.processId, val.threadId).then((result) …
68 e.state = Utils.getEndState(e.state)!;
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/cpu/
DTabPaneBoxChild.ts36 boxChildValue.state != null &&
37 boxChildValue.state != undefined &&
62 …getTabBoxChildData(val.leftNs, val.rightNs, val.state, val.processId, val.threadId).then((result) …
68 e.state = Utils.getEndState(e.state)!;
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dpower.proto24 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/
Dpower.proto24 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

123456