Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 92) sorted by relevance

1234

/developtools/profiler/hiebpf/src/
Dcommand_helper.cpp28 if (help.compare(SUPPORTED_ARGS[ARG_NONG]) == 0) { in Start()
51 if (help.compare(SUPPORTED_ARGS[ARG_HELP]) == 0) { in DoHelp()
53 } else if (help.compare(SUPPORTED_ARGS[ARG_OUTPUT_FILE]) == 0) { in DoHelp()
55 } else if (help.compare(SUPPORTED_ARGS[ARG_EXCLUDE_TRACER]) == 0) { in DoHelp()
57 } else if (help.compare(SUPPORTED_ARGS[ARG_MAX_STACK_DEPTH]) == 0) { in DoHelp()
59 } else if (help.compare(SUPPORTED_ARGS[ARG_DURATION]) == 0) { in DoHelp()
61 } else if (help.compare(SUPPORTED_ARGS[ARG_EVENTS]) == 0) { in DoHelp()
63 } else if (help.compare(SUPPORTED_ARGS[ARG_PIDS]) == 0) { in DoHelp()
65 } else if (help.compare(SUPPORTED_ARGS[ARG_DUMP_EVENTS]) == 0) { in DoHelp()
67 } else if (help.compare(SUPPORTED_ARGS[ARG_UNWIND_STACK]) == 0) { in DoHelp()
[all …]
Dhiebpf.cpp287 if (FLAGS_bpf_log_level.compare("DEBUG") == 0 or in GetBPFLogLevelFromFlag()
288 FLAGS_bpf_log_level.compare("debug") == 0) { in GetBPFLogLevelFromFlag()
291 if (FLAGS_bpf_log_level.compare("INFO") == 0 or in GetBPFLogLevelFromFlag()
292 FLAGS_bpf_log_level.compare("info") == 0) { in GetBPFLogLevelFromFlag()
295 if (FLAGS_bpf_log_level.compare("WARN") == 0 or in GetBPFLogLevelFromFlag()
296 FLAGS_bpf_log_level.compare("warn") == 0) { in GetBPFLogLevelFromFlag()
299 if (FLAGS_bpf_log_level.compare("ERROR") == 0 or in GetBPFLogLevelFromFlag()
300 FLAGS_bpf_log_level.compare("error") == 0) { in GetBPFLogLevelFromFlag()
303 if (FLAGS_bpf_log_level.compare("FATAL") == 0 or in GetBPFLogLevelFromFlag()
304 FLAGS_bpf_log_level.compare("fatal") == 0) { in GetBPFLogLevelFromFlag()
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ability/
DTabPaneNetworkAbility.ts145 compare(property: string, sort: number, type: string) {
184 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'string'));
186 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'durationStr'));
188 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'dataReceivedStr'));
190 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'dataReceivedSecStr'));
192 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'dataSendStr'));
194 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'dataSendSecStr'));
196 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'packetsInStr'));
198 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'packetsInSecStr'));
200 this.networkAbilitySource.sort(this.compare(detail.key, detail.sort, 'packetsOutStr'));
[all …]
DTabPaneLiveProcesses.ts165 function compare(property, sort, type) { function
198 this.liveProcessSource.sort(compare(detail.key, detail.sort, 'string'));
200 this.liveProcessSource.sort(compare(detail.key, detail.sort, 'cpuTime'));
202 this.liveProcessSource.sort(compare(detail.key, detail.sort, 'memory'));
204 this.liveProcessSource.sort(compare(detail.key, detail.sort, 'number'));
DTabPaneMemoryAbility.ts197 function compare(property, sort, type) { function
226 this.memoryAbilitySource.sort(compare(detail.key, detail.sort, 'string'));
228 this.memoryAbilitySource.sort(compare(detail.key, detail.sort, 'durationStr'));
230 this.memoryAbilitySource.sort(compare(detail.key, detail.sort, 'number'));
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTabCpuDetailsIdle.ts177 function compare(cpuDetailsLdlProperty, sort, type) {
196 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number'));
199 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number'));
202 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number'));
205 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number'));
207 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'number'));
209 this.cpuDetailsLdlData.sort(compare(detail.key, detail.sort, 'string'));
DTabCpuDetailsIrq.ts171 function compare(cpuDetailsLrqProperty, sort, type) {
190 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number'));
193 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number'));
196 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number'));
199 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number'));
201 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'number'));
203 this.cpuDetailsLrqData.sort(compare(detail.key, detail.sort, 'string'));
DTabCpuDetailsFrequency.ts190 function compare(cpuDetailsFrequencyProperty, sort, type) {
209 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number'));
212 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number'));
215 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number'));
218 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number'));
220 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'number'));
222 this.cpuDetailsFrequencyData.sort(compare(detail.key, detail.sort, 'string'));
DTop20ThreadRunTime.ts87 function compare(threadRunTimeProperty, sort, type) {
106 this.threadRunTimeData.sort(compare(detail.key, detail.sort, 'number'));
114 this.threadRunTimeData.sort(compare(detail.key, detail.sort, 'number'));
116 this.threadRunTimeData.sort(compare(detail.key, detail.sort, 'string'));
DTabCpuDetailsThreads.ts163 function compare(cpuDetailsThreadProperty, sort, type) {
182 this.data.sort(compare(detail.key, detail.sort, 'number'));
190 this.data.sort(compare(detail.key, detail.sort, 'number'));
192 this.data.sort(compare(detail.key, detail.sort, 'string'));
DTop20ProcessSwitchCount.ts130 function compare(processSwitchCountProperty, sort, type) {
148 this.processSwitchCountData.sort(compare(detail.key, detail.sort, 'number'));
150 this.processSwitchCountData.sort(compare(detail.key, detail.sort, 'string'));
DTop20ProcessThreadCount.ts131 function compare(processThreadCountProperty, sort, type) {
149 this.processThreadCountData.sort(compare(detail.key, detail.sort, 'number'));
151 this.processThreadCountData.sort(compare(detail.key, detail.sort, 'string'));
DTop20FrequencyThread.ts91 function compare(frequencyThreadProperty, sort, type) {
110 this.frequencyThreadData.sort(compare(detail.key, detail.sort, 'number'));
112 this.frequencyThreadData.sort(compare(detail.key, detail.sort, 'number'));
114 this.frequencyThreadData.sort(compare(detail.key, detail.sort, 'string'));
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/entity/
DPair.java82 return compare(mFirst, other.mFirst) && compare(mSecond, other.mSecond); in equals()
85 private <C> boolean compare(C value1, C value2) { in compare() method in Pair
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frame/
DTabPaneFrameDynamic.ts102 let compare = function (property: string, sort: number, type: string) {
130 this.frameDynamicSource.sort(compare(framesDetail.key, framesDetail.sort, 'string'));
132 this.frameDynamicSource.sort(compare(framesDetail.key, framesDetail.sort, 'number'));
DTabFrameSpacing.ts112 let compare = function (property: string, sort: number, type: string) {
142 this.framesSource.sort(compare(framesDetail.key, framesDetail.sort, 'string'));
144 this.framesSource.sort(compare(framesDetail.key, framesDetail.sort, 'number'));
/developtools/smartperf_host/trace_streamer/prebuilts/patch_protobuf/
Dprotobufbuild.gn113 cflags_cc = [ "-Wno-sign-compare" ]
115 "-Wno-sign-compare",
136 cflags_cc = [ "-Wno-sign-compare" ]
138 "-Wno-sign-compare",
153 cflags_cc = [ "-Wno-sign-compare" ]
155 "-Wno-sign-compare",
179 "-Wno-sign-compare",
303 "-Wno-sign-compare",
308 "-Wno-sign-compare",
330 cflags_cc = [ "-Wno-sign-compare" ]
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/
DTabPaneCpuByThread.ts207 compare(property: any, sort: any, type: string) { method in TabPaneCpuByThread
236 this.cpuByThreadSource.sort(this.compare(detail.key, detail.sort, 'string'));
238 …this.cpuByThreadSource.sort(this.compare((detail.key as string).replace('TimeStr', ''), detail.sor…
248 this.cpuByThreadSource.sort(this.compare(detail.key, detail.sort, 'number'));
250 this.cpuByThreadSource.sort(this.compare(detail.key, detail.sort, 'string'));
DTabPaneCpuByProcess.ts122 function compare(property, sort, type) {
155 … this.cpuByProcessSource.sort(compare(cpuByProcessDetail.key, cpuByProcessDetail.sort, 'number'));
157 … this.cpuByProcessSource.sort(compare(cpuByProcessDetail.key, cpuByProcessDetail.sort, 'string'));
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/process/
DTabPaneStaticInit.ts148 let compare = (soA: SoTreeItem, soB: SoTreeItem): number =>
150 this.staticinitSource.forEach((it) => it.children?.sort(compare));
151 this.staticinitSource.sort(compare);
DTabPaneThreadStates.ts61 let compare = (threadState1: SelectionData, threadState2: SelectionData): number => {
72 targetListTemp.sort(compare);
265 function compare(property: any, treadStatesSort: any, type: any) {
287 … this.threadStatesTblSource.sort(compare(treadStatesDetail.key, treadStatesDetail.sort, 'string'));
289 … this.threadStatesTblSource.sort(compare(treadStatesDetail.key, treadStatesDetail.sort, 'number'));
DTabPaneStartup.ts165 let compare = (startupA: StartupTreeItem, startupB: StartupTreeItem): number => {
175 startup.children?.sort(compare);
177 this.startupSource.sort(compare);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/trace_data/
Ddemo_trace_data_db.cpp167 if (!strLine.compare("-q") || !strLine.compare("-quit")) { in DemoSearchData()
169 } else if (!strLine.compare("-e")) { in DemoSearchData()
172 } else if (!strLine.compare("-help") || !strLine.compare("-h")) { in DemoSearchData()
175 } else if (!strLine.compare("-p")) { in DemoSearchData()
179 } else if (!strLine.compare("-up")) { in DemoSearchData()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/clock/
DTabPaneClockCounter.ts141 function compare(property, sort, type) {
169 this.clockCounterSource.sort(compare(detail.key, detail.sort, 'string'));
171 this.clockCounterSource.sort(compare(detail.key, detail.sort, 'number'));
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/
DTabPaneSmapsSample.ts169 function compare(property, sort, type) {
195 this.sourceSmapsSample.sort(compare(key, detail.sort, 'number'));
197 this.sourceSmapsSample.sort(compare(detail.key, detail.sort, 'string'));

1234