Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 204) sorted by relevance

123456789

/developtools/hiperf/script/
Dloadlib_test.py32 ret = libhiperf_report.EchoLoopBack(b'123')
36 ret = libhiperf_report.EchoLoopBack(b'test')
40 ret = libhiperf_report.EchoLoopBack(b'test123')
44 ret = libhiperf_report.EchoLoopBack(b'')
52 ret = libhiperf_report.Report(b'perf.data', b'report.txt', b'-s')
58 ret = libhiperf_report.ReportJson(b'perf.data', b'json.txt')
61 ret = libhiperf_report.ReportGetSymbolFiles(b'perf.data')
64 ret = libhiperf_report.ReportGetBuildId(b'elf32_test')
67 ret = libhiperf_report.ReportGetBuildId(b'elf32_test_stripped_nobuildid')
70 ret = libhiperf_report.ReportGetElfArch(b'elf32_test')
[all …]
/developtools/hiperf/include/
Dreport.h52 bool operator==(const ReportItemCallFrame &b) const
54 return Same(b);
57 bool operator!=(const ReportItemCallFrame &b) const
59 return !Same(b);
62 static int CompareSortingEventCount(const ReportItemCallFrame &a, const ReportItemCallFrame &b) in CompareSortingEventCount() argument
64 return a.eventCount_ > b.eventCount_; in CompareSortingEventCount()
104 bool Same(const ReportItemCallFrame &b) const in Same() argument
106 return (func_ == b.func_) and (vaddr_ == b.vaddr_) and (dso_ == b.dso_); in Same()
156 bool operator==(const ReportItem &b) const
158 return Same(b);
[all …]
Dsymbols_file.h106 static bool SameVaddr(const Symbol &a, const Symbol &b) in SameVaddr()
108 return (a.funcVaddr_ == b.funcVaddr_); in SameVaddr()
110 bool Same(const Symbol &b) const in Same()
112 return (funcVaddr_ == b.funcVaddr_ and demangle_ == b.demangle_); in Same()
114 bool operator==(const Symbol &b) const
116 return Same(b);
119 bool operator!=(const Symbol &b) const
121 return !Same(b);
211 static bool CompareLessThen(const Symbol &a, const Symbol &b) in CompareLessThen()
213 return a.funcVaddr_ < b.funcVaddr_; // we should use vaddr to sort in CompareLessThen()
[all …]
Dmem_map_item.h81 static bool GreaterSort(const MemMapItem &a, const MemMapItem &b) in GreaterSort() argument
83 return (a.begin_ > b.begin_); in GreaterSort()
85 static bool LessSort(const MemMapItem &a, const MemMapItem &b) in LessSort() argument
87 return (a.begin_ < b.begin_); in LessSort()
/developtools/smartperf_host/patches/
Dproductdefine_common.patch15 diff --git a/inherit/default.json b/inherit/default.json
18 +++ b/inherit/default.json
30 diff --git a/inherit/ipcamera.json b/inherit/ipcamera.json
33 +++ b/inherit/ipcamera.json
45 diff --git a/inherit/pc.json b/inherit/pc.json
48 +++ b/inherit/pc.json
60 diff --git a/inherit/rich.json b/inherit/rich.json
63 +++ b/inherit/rich.json
75 diff --git a/inherit/tablet.json b/inherit/tablet.json
78 +++ b/inherit/tablet.json
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DColorTemplate.ets20 public static argb(a: number, r: number, g: number, b: number): number{
21 return 0xff000000 | (a << 24) | (r << 16) | (g << 8) | b;
24 public static rgb(r: number, g: number, b: number): number{
25 return 0xff000000 | (r << 16) | (g << 8) | b;
44 public static RGBToHSV(r,g,b,hsv:number[]){
46 let arr = [r,g,b];
47 arr.sort(function (a, b) {
48 return a - b;
60 } else if (max === r && g >= b) {
61 h = 60 * ((g - b) / (max - min)) + 0;
[all …]
/developtools/hiperf/test/unittest/common/native/
Dperf_file_format_test.cpp33 const std::vector<SymbolFileStruct> &b);
36 const std::vector<AttrWithId> &b);
109 const std::vector<SymbolFileStruct> &b) in CompareVecSymFile() argument
111 ASSERT_EQ(a.size(), b.size()); in CompareVecSymFile()
113 ASSERT_EQ(a[i].filePath_, b[i].filePath_); in CompareVecSymFile()
114 ASSERT_EQ(a[i].symbolType_, b[i].symbolType_); in CompareVecSymFile()
115 ASSERT_EQ(a[i].textExecVaddr_, b[i].textExecVaddr_); in CompareVecSymFile()
116 ASSERT_EQ(a[i].textExecVaddrFileOffset_, b[i].textExecVaddrFileOffset_); in CompareVecSymFile()
117 ASSERT_EQ(a[i].buildId_, b[i].buildId_); in CompareVecSymFile()
118 ASSERT_EQ(a[i].symbolStructs_.size(), b[i].symbolStructs_.size()); in CompareVecSymFile()
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/
DTabPaneComparison.ts345 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
346 return sort === 1 ? a.addedCount - b.addedCount : b.addedCount - a.addedCount;
350 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
351 return sort === 1 ? a.removedCount - b.removedCount : b.removedCount - a.removedCount;
355 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
356 return sort === 1 ? a.deltaCount - b.deltaCount : b.deltaCount - a.deltaCount;
360 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
362 ? (a.objectName + '').localeCompare(b.objectName + '')
363 : (b.objectName + '').localeCompare(a.objectName + '');
367 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
[all …]
DTabPaneJsCpuStatistics.ts161 return this.statisticsSource.sort((a, b) => b.time - a.time);
181 return function (a: any, b: any) {
190 …return sort === 2 ? parseFloat(b[key]) - parseFloat(a[key]) : parseFloat(a[key]) - parseFloat(b[ke…
193 return b[key].toString().localeCompare(a[key].toString());
195 return a[key].toString().localeCompare(b[key].toString());
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/snapshot/
DTabPaneComparison.ts345 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
346 return sort === 1 ? a.addedCount - b.addedCount : b.addedCount - a.addedCount;
350 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
351 return sort === 1 ? a.removedCount - b.removedCount : b.removedCount - a.removedCount;
355 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
356 return sort === 1 ? a.deltaCount - b.deltaCount : b.deltaCount - a.deltaCount;
360 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
362 ? (a.objectName + '').localeCompare(b.objectName + '')
363 : (b.objectName + '').localeCompare(a.objectName + '');
367 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => {
[all …]
DTabPaneSummary.ts182 data.children.sort(function (a: ConstructorItem, b: ConstructorItem) {
183 return b.retainedSize - a.retainedSize;
482 this.tbs!.snapshotDataSource = this.rightArray.sort((a, b) => {
483 return sort === 1 ? a.distance - b.distance : b.distance - a.distance;
488 list.sort((a, b) => {
489 return sort === 1 ? a.distance - b.distance : b.distance - a.distance;
504 this.tbs!.snapshotDataSource = this.rightArray.sort((a, b) => {
505 return sort === 1 ? a.shallowSize - b.shallowSize : b.shallowSize - a.shallowSize;
510 list.sort((a, b) => {
511 … return sort === 1 ? a.shallowSize - b.shallowSize : b.shallowSize - a.shallowSize;
[all …]
/developtools/profiler/device/plugins/native_daemon/include/
Dperf_event_record.h65 bool operator==(const CallFrame &b) const
67 return (ip_ == b.ip_) && (sp_ == b.sp_);
69 bool operator!=(const CallFrame &b) const
71 return (ip_ != b.ip_) || (sp_ != b.sp_);
Dsymbols_file.h100 static bool SameVaddr(const Symbol &a, const Symbol &b) in SameVaddr()
102 return (a.funcVaddr_ == b.funcVaddr_); in SameVaddr()
104 bool Same(const Symbol &b) const in Same()
106 return (funcVaddr_ == b.funcVaddr_ and demangle_ == b.demangle_); in Same()
108 bool operator==(const Symbol &b) const
110 return Same(b);
113 bool operator!=(const Symbol &b) const
115 return !Same(b);
207 static bool CompareLessThen(const Symbol &a, const Symbol &b) in CompareLessThen()
209 return a.funcVaddr_ < b.funcVaddr_; // we should use vaddr to sort in CompareLessThen()
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dkernel_symbols_parser.cpp60 bool KernelSymbolsParser::CompareSymbolInfo(const KernelSymbol& a, const KernelSymbol& b) in CompareSymbolInfo() argument
62 if (a.addr != b.addr) { in CompareSymbolInfo()
63 return a.addr < b.addr; in CompareSymbolInfo()
65 if (a.name != b.name) { in CompareSymbolInfo()
66 return a.name < b.name; in CompareSymbolInfo()
68 return a.type < b.type; in CompareSymbolInfo()
/developtools/profiler/host/smartperf/trace_streamer/src/base/
Dindex_map.cpp175 const std::vector<TableRowId> b = other->rowIndex_; in Merge() local
177 uint32_t bSize = b.size(); in Merge()
179 rowIndex_.push_back(b[bIndex]); in Merge()
199 const std::vector<TableRowId> b = other->rowIndex_; in Merge() local
205 uint32_t bSize = b.size(); in Merge()
209 c.push_back(b[bIndex]); in Merge()
221 if (a[aIndex] < b[bIndex]) { in Merge()
224 } else if (a[aIndex] == b[bIndex]) { in Merge()
229 c.push_back(b[bIndex]); in Merge()
/developtools/smartperf_host/trace_streamer/src/base/
Dindex_map.cpp177 const std::vector<TableRowId> b = other->rowIndex_; in Merge() local
179 uint32_t bSize = b.size(); in Merge()
181 rowIndex_.push_back(b[bIndex]); in Merge()
201 const std::vector<TableRowId> b = other->rowIndex_; in Merge() local
207 uint32_t bSize = b.size(); in Merge()
211 c.push_back(b[bIndex]); in Merge()
223 if (a[aIndex] < b[bIndex]) { in Merge()
226 } else if (a[aIndex] == b[bIndex]) { in Merge()
231 c.push_back(b[bIndex]); in Merge()
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTop20ThreadRunTime.ts88 return function (a: any, b: any) {
92 ? parseFloat(b[threadRunTimeProperty]) - parseFloat(a[threadRunTimeProperty])
93 : parseFloat(a[threadRunTimeProperty]) - parseFloat(b[threadRunTimeProperty]);
96 … return b[threadRunTimeProperty].toString().localeCompare(a[threadRunTimeProperty].toString());
98 … return a[threadRunTimeProperty].toString().localeCompare(b[threadRunTimeProperty].toString());
DTop20ProcessSwitchCount.ts131 return function (a: any, b: any) {
135 ? parseFloat(b[processSwitchCountProperty]) - parseFloat(a[processSwitchCountProperty])
136 : parseFloat(a[processSwitchCountProperty]) - parseFloat(b[processSwitchCountProperty]);
139 …return b[processSwitchCountProperty].toString().localeCompare(a[processSwitchCountProperty].toStri…
141 …return a[processSwitchCountProperty].toString().localeCompare(b[processSwitchCountProperty].toStri…
DTop20ProcessThreadCount.ts132 return function (a: any, b: any) {
136 ? parseFloat(b[processThreadCountProperty]) - parseFloat(a[processThreadCountProperty])
137 : parseFloat(a[processThreadCountProperty]) - parseFloat(b[processThreadCountProperty]);
140 …return b[processThreadCountProperty].toString().localeCompare(a[processThreadCountProperty].toStri…
142 …return a[processThreadCountProperty].toString().localeCompare(b[processThreadCountProperty].toStri…
/developtools/profiler/host/smartperf/ide/src/trace/component/schedulingAnalysis/
DTop20ThreadRunTime.ts88 return function (a: any, b: any) {
92 ? parseFloat(b[threadRunTimeProperty]) - parseFloat(a[threadRunTimeProperty])
93 : parseFloat(a[threadRunTimeProperty]) - parseFloat(b[threadRunTimeProperty]);
96 … return b[threadRunTimeProperty].toString().localeCompare(a[threadRunTimeProperty].toString());
98 … return a[threadRunTimeProperty].toString().localeCompare(b[threadRunTimeProperty].toString());
DTop20ProcessThreadCount.ts132 return function (a: any, b: any) {
136 ? parseFloat(b[processThreadCountProperty]) - parseFloat(a[processThreadCountProperty])
137 : parseFloat(a[processThreadCountProperty]) - parseFloat(b[processThreadCountProperty]);
140 …return b[processThreadCountProperty].toString().localeCompare(a[processThreadCountProperty].toStri…
142 …return a[processThreadCountProperty].toString().localeCompare(b[processThreadCountProperty].toStri…
DTop20ProcessSwitchCount.ts131 return function (a: any, b: any) {
135 ? parseFloat(b[processSwitchCountProperty]) - parseFloat(a[processSwitchCountProperty])
136 : parseFloat(a[processSwitchCountProperty]) - parseFloat(b[processSwitchCountProperty]);
139 …return b[processSwitchCountProperty].toString().localeCompare(a[processSwitchCountProperty].toStri…
141 …return a[processSwitchCountProperty].toString().localeCompare(b[processSwitchCountProperty].toStri…
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/expression/
Dexpression.hml36 <text class="text-text">{{1>2?a:b}}</text>
39 <text class="text-text">{{1>b?(v>4?a:6):7}}</text>
46 <input value="{{a.b.c.d}}"></input>
47 <input value="{{a.b.c[1]}}"></input>
48 <input value="{{(a.b.c)[1]}}"></input>
51 <text if="{{!showauto}}">b</text>
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
DREADME.md37 …] [-v] -p PROJECT_PATH -j MODULE_INFO_JSON -n PRODUCT_NAME -d PRODUCT_DIR [-b] [-o OUTPUT_FILE] [-…
52 -b, --baseline add baseline of component to the result(-b) or not.
61 …t/rk3568/packages/phone/system_module_info.json -n rk3568 -d system -d vendor -d updater -e True -b
63 # -b: add baseline info to the result
96 …phone/system/profile下所有json文件,rom的分析结果,(rom_ram_baseline.json——可以在rom分析阶段通过-b参数生成)分析各进程及对应部件的ram占用…
126 …usage: ram_analyzer.py [-h] [-v] -s JSON_PATH -c CFG_PATH [-j ROM_RESULT] -n DEVICE_NUM [-b BASELI…
143 -b BASELINE_FILE, --baseline_file BASELINE_FILE
156 # -b rom_ram_baseline.json:指定rom与ram的基线信息文件(可在rom统计阶段使用-b参数生成)
/developtools/integration_verification/DeployDevice/resource/L1/ev200/
Dupdate.txt3 mw.b 40000000 ff 500000; tftp 40000000 /ev200/OHOS_Image.bin; sf erase 100000 500000; sf write 4000…
4 mw.b 40000000 ff 900000; tftp 40000000 /ev200/rootfs.img; sf erase 600000 900000; sf write 40000000…
5 mw.b 40000000 ff 100000; tftp 40000000 /ev200/userfs.img; sf erase f00000 100000; sf write 40000000…

123456789