Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dhashlist_test.cpp62 HWTEST_F(HashListTest, count, TestSize.Level1)
66 EXPECT_EQ(hashList.count(temp), 0u);
69 EXPECT_EQ(hashList.count(curSize), 1u);
79 for (std::size_t count = 0; count < size_; ++count) { variable
81 EXPECT_EQ(*first, count);
92 for (std::size_t count = 0; count < size_; ++count) { variable
94 EXPECT_EQ(*first, count);
105 for (std::size_t count = size_ - 1; count > 0; --count) { variable
108 EXPECT_EQ(*last, count);
119 for (std::size_t count = size_ - 1; count > 0; --count) { variable
[all …]
/developtools/hiperf/test/unittest/common/native/
Dhashlist_test.cpp62 HWTEST_F(HashListTest, count, TestSize.Level1)
66 EXPECT_EQ(hashList.count(temp), 0u);
69 EXPECT_EQ(hashList.count(curSize), 1u);
79 for (std::size_t count = 0; count < size_; ++count) { variable
81 EXPECT_EQ(*first, count);
92 for (std::size_t count = 0; count < size_; ++count) { variable
94 EXPECT_EQ(*first, count);
105 for (std::size_t count = size_ - 1; count > 0; --count) { variable
108 EXPECT_EQ(*last, count);
119 for (std::size_t count = size_ - 1; count > 0; --count) { variable
[all …]
/developtools/smartperf_host/ide/test/base-ui/chart/pie/
DLitChartPie.test.ts67 count: 238,
78 count: 113,
89 count: 17,
100 count: 31,
111 count: 91,
122 count: 181,
133 count: 121,
144 count: 21,
155 count: 11,
166 count: 11,
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/frequsage/
DTabPaneFreqDataCut.test.ts105 count: 0,
110 {count: 1, dur: 10, percent: 10},
111 {count: 2, dur: 20, percent: 20},
112 {count: 0, dur: 0, percent: 0},
113 {count: 3, dur: 30, percent: 30}
117 expect(obj.children).toContainEqual({count: 1, dur: 10, percent: 10});
118 expect(obj.children).toContainEqual({count: 2, dur: 20, percent: 20});
119 expect(obj.children).toContainEqual({count: 3, dur: 30, percent: 30});
120 expect(obj.count).toBe(6);
127 {cpu: 'A', freq: 1, id: 1, dur: 10, percent: 50, count: 1},
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hiperf/
DTabPanePerfAnalysis.test.ts83 count: 0,
93 count: 10387,
100 count: 4303,
107 count: 1616,
114 count: 59,
136 count: 13,
146 count: 241,
153 count: 221,
181 count: 12,
191 count: 242,
[all …]
/developtools/profiler/device/base/test/unittest/
Dschedule_task_manager_test.cpp40 std::atomic<int> count = 0; variable
44 EXPECT_NE(scheduleTaskManager.ScheduleTask([&]() { count++; }, initalDelay, true), -1); in __anon168b8ffb0202()
47 EXPECT_EQ(count.load(), 1);
57 std::atomic<int> count = 0; variable
66 count++; in __anon168b8ffb0302()
80 EXPECT_LE(abs(count.load() - expected), thresh);
90 std::atomic<int> count = 0; variable
100 count++; in __anon168b8ffb0402()
115 EXPECT_LE(abs(count.load() - expected), thresh);
/developtools/packing_tool/adapter/ohos/
DConvertHapToBin.java102 int count = 0; in main() local
104 if (HAP_PATH.equals(para) && count < args.length - 1) { in main()
105 hapPath = args[count + 1]; in main()
108 if (PROJECT_PATH.equals(para) && count < args.length - 1) { in main()
109 projectPath = args[count + 1]; in main()
112 if (BIN_PATH.equals(para) && count < args.length - 1) { in main()
113 binPath = args[count + 1]; in main()
115 count++; in main()
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerSPT.ts133 process.count += 1;
137 process.avgDuration = (process.wallDuration / process.count).toFixed(2);
140 thread.count += 1;
144 thread.avgDuration = (thread.wallDuration / thread.count).toFixed(2);
147 state.count += 1;
151 state.avgDuration = (state.wallDuration / state.count).toFixed(2);
168 count: 1,
181 count: 1,
190 count: 1,
205 count: 1,
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/
DTabPanePerfAnalysis.ts203 if (detail.button === 0 && data.tableName !== '' && data.count !== 0) {
318 <div>Sample Count:${perfObj.obj.count}</div>
391 return `<div><div>Thread:${obj.obj.tableName}</div><div>Sample Count:${obj.obj.count}</div>
445 <div>Sample Count:${obj.obj.count}</div>
573 return this.sortType === 1 ? a.count - b.count : b.count - a.count;
626 allCount += itemData.count;
638 let count = 0; variable
641 count += item.count;
648 percent: ((count / allCount) * 100).toFixed(2),
649 count: count,
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/utils/
DInputStreamUtils.java54 int count = 0; in copy() local
57 count += readSize; in copy()
59 if (count != inputStreamSize) { in copy()
60 …throw new IOException("read size err. readSizeCount: " + count + ", inputStreamSize: " + inputStre… in copy()
62 return count; in copy()
/developtools/smartperf_host/ide/test/js-heap/logic/
DAllocation.test.ts33 count: 1,
52 count: 43,
74 count: 23,
156 count: 1,
175 count: 1,
196 count: 66,
215 count: 21,
236 count: 61,
255 count: 81,
336 count: 211,
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DEnergySysEventReceiver.ts171 hiSysEnergy.count[index] = beanData.count;
186 beanData.count = lockCount;
198 beanData.count = lockCount;
213 beanData.count = 1;
217 beanData.count = locationCount;
223 beanData.count = locationCount;
246 let count = workCountMap.get(beanData.appName);
247 if (count == undefined) {
250 workCountMap.set(beanData.appName, count + 1);
253 beanData.count = workCount;
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/
DTabPaneSmapsComparison.ts102 smapsComResults[i].count,
122 results[i].count,
151 diffItem!.count = diffItem!.count - item.count;
216 count: number; property in SmapsCompareStruct
230 count: number,
243 this.count = count;
260 this.count,
275 -this.count,
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hilog/
DTabPaneHiLogSummary.ts145 tableCountRowEl.title = rowNode.count.toString();
147 countEL.textContent = rowNode.count.toString();
225 let root: LogTreeNode = {id: id, depth: 0, children: [], logName: 'All', count: 0};
230 levelNode.count++;
233 levelNode = {id: id, depth: 0, children: [], logName: item.level, count: 1};
238 processNode.count++;
241 processNode = {id: id, depth: 1, children: [], logName: item.processName, count: 1};
246 tagNode.count++;
249 tagNode = {id: id, depth: 2, children: [], logName: item.tag, count: 1};
254 messageNode.count++;
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/test/app/
Dbusy_workers.cpp41 explicit Semaphore(int count = 0) : count_(count) {} in Semaphore()
92 void SetSwitchCount(int count) in SetSwitchCount()
94 swtichCount_ = count; in SetSwitchCount()
142 uint64_t count = 0; in Work() local
145 count++; in Work()
147 printf("[%ld] busy loop count = %" PRIu64 "!\n", GetTid(), count); in Work()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/irq/
DTabPaneIrqCounter.ts48 selectData.count = item.count;
115 (parseInt(irqCounterLeftData.count) - parseInt(irqCounterRightData.count));
120 irqCounterLeftData.wallDuration / parseInt(irqCounterLeftData.count) -
121 irqCounterRightData.wallDuration / parseInt(irqCounterRightData.count);
/developtools/profiler/hiebpf/src/
Dcommand_helper.cpp31 for (int count = 1; count < (*argc); ++count) { in Start() local
32 if ((*argv)[count] and strlen((*argv)[count]) != 0) { in Start()
36 std::cout << "CommandHelper WARN: argument " << (*argv)[count] in Start()
/developtools/profiler/hiebpf/scripts/
Dfstrace_code_generator.py184 count = 0
187 if count >= max_nr_args:
191 count += 1
323 count = 0
326 if count >= max_nr_args:
330 count += 1
357 count = 0
360 if count >= max_nr_args:
368 count += 1
487 count = 1
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dkernel_symbols_parser.cpp79 int count = 0; in Parse() local
96 if (count % MAX_BUFFER_SIZE == 0) { in Parse()
99 kernelSymbols_[count] = info; in Parse()
100 count++; in Parse()
104 kernelSymbols_.resize(count); in Parse()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/frequsage/
DTabPaneFreqUsageConfig.ts21 count: number = 0; property in TabPaneFreqUsageConfig
35 count: number,
49 this.count = count;
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/file-system/
DTabPaneFilesystemStatistics.ts110 count: 0,
122 item.avgDuration = item.allDuration / item.count;
131 …ileStatisticsAllNode.avgDuration = fileStatisticsAllNode.allDuration / fileStatisticsAllNode.count;
146 fileStatisticsObj.count += item.count;
159 count: item.count,
177 fileStatisticsAllNode.count += item.count;
/developtools/profiler/device/plugins/diskio_plugin/src/
Dio_stats.cpp293 uint32_t count = 0; in ParseLineFields() local
299 CHECK_TRUE(RemoveSpaces(&pTmp), count, "%s: RemoveSpaces failed!", __func__); in ParseLineFields()
309 CHECK_TRUE(FindFirstNum(&pTmp), count, "%s: FindFirstNum failed", __func__); in ParseLineFields()
311 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in ParseLineFields()
314 count++; in ParseLineFields()
316 return count; in ParseLineFields()
322 uint32_t count = 0; in ParseLineFields() local
327 CHECK_TRUE(FindFirstNum(&pTmp), count, "%s: FindFirstNum failed", __func__); in ParseLineFields()
329 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in ParseLineFields()
332 count++; in ParseLineFields()
[all …]
/developtools/smartperf_host/ide/src/js-heap/logic/
DAllocation.ts50 uniqueNode.count += node.count;
107 children.count = node.count;
117 children.count = node.count;
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/native-memory/
DTabPaneNMCallTree.test.ts58 { size: 10, count: 20, children: [] },
59 { size: 11, count: 21, children: [] },
60 { size: 21, count: 31, children: [] },
120 { size: 10, count: 20, children: [] },
121 { size: 11, count: 21, children: [] },
122 { size: 21, count: 31, children: [] },
/developtools/profiler/hiebpf/include/
Dfstrace_types.h32 size_t count; member
38 size_t count; member
44 size_t count; member
51 size_t count; member

12345678910>>...14