Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 121) sorted by relevance

12345

/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/cpu/
DTabPaneBoxChild.ts31 set data(val: BoxJumpParam) {
34 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
35 if(val.state != null && val.state != undefined && val.processId && val.threadId){
38 this.getDataByCache(val).then((arr) => {
44 this.getDataByDB(val)
69 getDataByDB(val: BoxJumpParam) {
70 …getTabBoxChildData(val.leftNs, val.rightNs, val.state, val.processId, val.threadId).then((result) …
92 getDataByCache(val: BoxJumpParam): Promise<Array<SPTChild>> {
96 let b1 = (val.state != undefined && val.state != '') ? spt.state == val.state : true
97 …let b2 = (val.processId != undefined && val.processId != -1) ? spt.processId == val.processId : tr…
[all …]
DTabPaneCounterSample.ts36 set data(val: SelectionParam | any) {
37 if(val == this.selectionParam){
42 this.selectionParam = val;
45 this.queryDataByDB(val)
74 queryDataByDB(val: SelectionParam | any) {
79 …getTabPaneCounterSampleData(val.leftNs + val.recordStartNs, val.rightNs + val.recordStartNs, val.c…
86 val.cpuStateFilterIds.forEach((a:number)=>{
87 this.getInitTime(result.filter((f) => f.filterId == a),sampleMap,val)
96 getInitTime(result:Array<any>,sampleMap:Map<any,any>,val:SelectionParam){
97 let leftNs = val.leftNs + val.recordStartNs;
[all …]
DTabPaneFrequencySample.ts37 set data(val: SelectionParam | any) {
38 if(val == this.selectionParam){
43 this.selectionParam = val;
46 this.queryDataByDB(val)
75 queryDataByDB(val: SelectionParam | any) {
80 …getTabPaneFrequencySampleData(val.leftNs + val.recordStartNs, val.rightNs + val.recordStartNs, val
87 val.cpuFreqFilterIds.forEach((a:number)=>{
88 this.getInitTime(result.filter((f) => f.filterId == a),sampleMap,val)
98 getInitTime(result:Array<any>,sampleMap:Map<any,any>,val:SelectionParam){
99 let leftNs = val.leftNs + val.recordStartNs;
[all …]
DTabPaneCpuUsage.ts28 set data(val: SelectionParam | any) {
31 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
32 …Promise.all([getTabCpuUsage(val.cpus, val.leftNs, val.rightNs), getTabCpuFreq(val.cpus, val.leftNs…
36 let range = val.rightNs - val.leftNs;
37 for (let cpu of val.cpus) {
57 freq.dur = val.rightNs - freq.startNs
61 if (freq.startNs + freq.dur > val.leftNs) {
66 if (list[0].startNs < val.leftNs) {
67 list[0].dur = list[0].startNs + list[0].dur - val.leftNs
68 list[0].startNs = val.leftNs;
DTabPaneCpuStateClick.ts27 set data(val:any) {
28 if(val){
30 startNS:Utils.getTimeString(val.startTs),
31 dur:Utils.getProbablyTime(val.dur),
32 state:val.value,
33 cpu:`Cpu ${val.cpu}`
DTabPanePTS.ts33 set data(val: SelectionParam | any) {
34 if(val == this.selectionParam){
37 this.selectionParam = val;
38 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
40 this.getDataBySPT(val.leftNs,val.rightNs,SpSystemTrace.SPT_DATA)
42 this.queryDataByDB(val)
62 queryDataByDB(val: SelectionParam | any) {
63 getStatesProcessThreadDataByRange(val.leftNs,val.rightNs).then(result => {
64 this.getDataBySPT(val.leftNs,val.rightNs,result);
DTabPaneSPT.ts33 set data(val: SelectionParam | any) {
34 if(val == this.selectionParam){
37 this.selectionParam = val;
40 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
42 this.getDataBySPT(val.leftNs,val.rightNs,SpSystemTrace.SPT_DATA)
44 this.queryDataByDB(val)
171 queryDataByDB(val: SelectionParam | any) {
172 getStatesProcessThreadDataByRange(val.leftNs,val.rightNs).then(result => {
173 this.getDataBySPT(val.leftNs,val.rightNs,result);
DTabPaneContextSwitch.ts34 set data(val: SelectionParam | any) {
35 if(val == this.selectionParam){
38 this.selectionParam = val;
41 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
43 this.getDataBySPT(val.leftNs,val.rightNs,SpSystemTrace.SPT_DATA)
45 this.queryDataByDB(val)
174 queryDataByDB(val: SelectionParam | any) {
175 getStatesProcessThreadDataByRange(val.leftNs,val.rightNs).then(result => {
176 this.getDataBySPT(val.leftNs,val.rightNs,result);
DTabPaneThreadSwitch.ts33 set data(val: SelectionParam | any) {
34 if(val == this.selectionParam){
37 this.selectionParam = val;
40 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
42 this.getDataBySPT(val.leftNs,val.rightNs,SpSystemTrace.SPT_DATA)
44 this.queryDataByDB(val)
171 queryDataByDB(val: SelectionParam | any) {
172 getStatesProcessThreadDataByRange(val.leftNs,val.rightNs).then(result => {
173 this.getDataBySPT(val.leftNs,val.rightNs,result);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/
DTabPaneCpu.ts24 set data(val: CpuStruct) {
26 {name: 'Process', value: `${val.processName || 'Process'} [${val.processId}]`},
27 {name: 'Thread', value: `${val.name || 'Thread'} [${val.tid}]`},
28 {name: 'Cmdline', value: val.processCmdLine},
29 {name: 'Start time', value: val.startTime},
30 {name: 'Duration', value: val.dur},
31 {name: 'Prio', value: val.priority},
32 {name: 'End State', value: val.end_state},
33 {name: 'Slice ID', value: val.id}
DTabPaneBoxChild.ts31 set data(val: BoxJumpParam) {
34 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
36 this.getDataByCache(val).then((arr) => {
42 this.getDataByDB(val)
62 getDataByDB(val: BoxJumpParam) {
63 …getTabBoxChildData(val.leftNs, val.rightNs, val.state, val.processId, val.threadId).then((result) …
84 getDataByCache(val: BoxJumpParam): Promise<Array<SPTChild>> {
88 let b1 = (val.state != undefined && val.state != '') ? spt.state == val.state : true
89 …let b2 = (val.processId != undefined && val.processId != -1) ? spt.processId == val.processId : tr…
90 … let b3 = (val.threadId != undefined && val.threadId != -1) ? spt.threadId == val.threadId : true
[all …]
DTabPaneNMemory.ts48 set data(val: SelectionParam | any) {
49 if (val == this.currentSelection) {
52 this.currentSelection = val
54 this.queryData(val)
57 queryData(val: SelectionParam | any) {
59 if (val.nativeMemory.indexOf(this.defaultNativeTypes[0]) != -1) {
63 if (val.nativeMemory.indexOf(this.defaultNativeTypes[1]) != -1) {
66 if (val.nativeMemory.indexOf(this.defaultNativeTypes[2]) != -1) {
70 TabPaneNMSampleList.serSelection(val)
79 this.leftNs = val.leftNs;
[all …]
DTabPaneCpuUsage.ts28 set data(val: SelectionParam | any) {
31 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
32 …Promise.all([getTabCpuUsage(val.cpus, val.leftNs, val.rightNs), getTabCpuFreq(val.cpus, val.leftNs…
36 let range = val.rightNs - val.leftNs;
37 for (let cpu of val.cpus) {
57 freq.dur = val.rightNs - freq.startNs
61 if (freq.startNs + freq.dur > val.leftNs) {
66 if (list[0].startNs < val.leftNs) {
67 list[0].dur = list[0].startNs + list[0].dur - val.leftNs
68 list[0].startNs = val.leftNs;
DTabPaneSlices.ts27 set data(val: SelectionParam | any) {
28 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
31 val.funAsync.forEach((it: any) => {
35 getTabSlicesAsyncFunc(asyncNames, asyncPid, val.leftNs, val.rightNs).then(res => {
36 getTabSlices(val.funTids, val.leftNs, val.rightNs).then((res2) => {
DTabPaneFps.ts28 set data(val: SelectionParam | any) {
29 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
30 getTabFps(val.leftNs, val.rightNs).then((result) => {
34 let index = result.findIndex((d) => d.startNS >= val.leftNs);
DTabPaneNMStatstics.ts39 set data(val: SelectionParam | any) {
40 if(val == this.currentSelection){
43 this.currentSelection = val;
52 Promise.all([queryNativeHookStatistics(val.leftNs, val.rightNs),
53 queryNativeHookStatisticsSubType(val.leftNs, val.rightNs),
54 queryNativeHookStatisticsMalloc(val.leftNs, val.rightNs)
57 let index1 = val.nativeMemory.indexOf(this.native_type[0])
58 let index2 = val.nativeMemory.indexOf(this.native_type[1])
59 let index3 = val.nativeMemory.indexOf(this.native_type[2])
60 this.setMemoryTypeData(val, values[0], arr);
[all …]
DTabPaneContextSwitch.ts34 set data(val: SelectionParam | any) {
37 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
39 this.queryDataInCacheData(val).then((arr) => {
43 this.queryDataByDB(val)
59 async queryDataInCacheData(val: SelectionParam | any): Promise<Array<StateProcessThread>> {
65 if (!(d.end_ts < val.leftNs || d.start_ts > val.rightNs)) {
170 queryDataByDB(val: SelectionParam | any) {
172 getTabStatesGroupByProcess(val.leftNs, val.rightNs),
173 getTabStatesGroupByProcessThread(val.leftNs, val.rightNs),
174 getTabStatesGroupByStatePidTid(val.leftNs, val.rightNs)]).then((values) => {
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/file-system/
DTabPaneIoCompletionTimes.ts47 set data(val: SelectionParam | null | undefined) {
48 if (val == this.currentSelection) {
51 this.currentSelection = val
52 this.initFilterTypes(val!).then(()=>{
53 this.queryData(val!)
101 async initFilterTypes(val: SelectionParam){
103 let typeKeys = await getTabVirtualMemoryType(val.leftNs,val.rightNs);
114 async fromStastics(val: SelectionParam | any) {
115 if(val.fileSystemVMData == undefined){
121 if (this.currentSelection != val) {
[all …]
DTabPaneVMEvents.ts46 set data(val: SelectionParam | null | undefined) {
47 if (val == this.currentSelection) {
50 this.currentSelection = val
51 this.initFilterTypes(val!).then(()=>{
52 this.queryData(val!)
116 async initFilterTypes(val: SelectionParam){
118 let typeKeys = await getTabVirtualMemoryType(val.leftNs,val.rightNs);
130 async fromStastics(val: SelectionParam | any) {
131 if(val.fileSystemVMData == undefined){
137 if (this.currentSelection != val) {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMemory.ts49 set data(val: SelectionParam | any) {
50 if (val == this.currentSelection) {
53 this.currentSelection = val
55 this.queryData(val)
58 queryData(val: SelectionParam | any) {
60 if (val.nativeMemory.indexOf(this.defaultNativeTypes[0]) != -1) {
64 if (val.nativeMemory.indexOf(this.defaultNativeTypes[1]) != -1) {
67 if (val.nativeMemory.indexOf(this.defaultNativeTypes[2]) != -1) {
71 TabPaneNMSampleList.serSelection(val)
80 this.leftNs = val.leftNs;
[all …]
DTabPaneNMStatstics.ts40 set data(val: SelectionParam | any) {
41 if(val == this.currentSelection){
44 this.currentSelection = val;
53 Promise.all([queryNativeHookStatistics(val.leftNs, val.rightNs),
54 queryNativeHookStatisticsSubType(val.leftNs, val.rightNs),
55 queryNativeHookStatisticsMalloc(val.leftNs, val.rightNs)
58 let index1 = val.nativeMemory.indexOf(this.native_type[0])
59 let index2 = val.nativeMemory.indexOf(this.native_type[1])
60 let index3 = val.nativeMemory.indexOf(this.native_type[2])
61 this.setMemoryTypeData(val, values[0], arr);
[all …]
/developtools/profiler/host/smartperf/ide/src/base-ui/menu/
DLitMainMenuItem.ts34 set title(val: string) {
35 this.setAttribute("title", val);
42 set disabled(val: boolean) {
43 if (val) {
44 this.setAttribute("disabled", val.toString());
45 this.fileEL?.setAttribute("disabled", val.toString());
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/process/
DTabPaneSlices.ts27 set data(val: SelectionParam | any) {
28 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
31 val.funAsync.forEach((it: any) => {
35 getTabSlicesAsyncFunc(asyncNames, asyncPid, val.leftNs, val.rightNs).then(res => {
36 getTabSlices(val.funTids, val.leftNs, val.rightNs).then((res2) => {
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcomponent_validator.js928 function validateIf(val, out, flag, nodeLoc, relativePath) { argument
929 if (!REG_DATA_BINDING.test(val)) {
930 if (val.trim() === 'false') {
931 val = card ? false : '{{false}}'
932 } else if (val.trim() === 'true') {
933 val = card ? true : '{{true}}'
939 reason: 'ERROR: if value cannot be ' + val + '. The default value is true or false.'
944 const content = val.replace('{{', '').replace('}}', '')
945 val = !card ? '{{!(' + content + ')}}' :
946 REG_DATA_BINDING.test(val) ? '!{{' + content + '}}' : '!' + content
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/fps/
DTabPaneFps.ts28 set data(val: SelectionParam | any) {
29 …this.range!.textContent = "Selected range: " + parseFloat(((val.rightNs - val.leftNs) / 1000000.0)…
30 getTabFps(val.leftNs, val.rightNs).then((result) => {
34 let index = result.findIndex((d) => d.startNS >= val.leftNs);

12345