/developtools/hiperf/test/unittest/common/native/ |
D | hashlist_test.cpp | 62 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/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | hashlist_test.cpp | 62 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/ |
D | LitChartPie.test.ts | 69 count: 238, 80 count: 113, 91 count: 17, 102 count: 31, 113 count: 91, 124 count: 181, 135 count: 121, 146 count: 21, 157 count: 11, 168 count: 11, [all …]
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/hiperf/ |
D | TabPanePerfAnalysis.test.ts | 74 count: 0, 84 count: 10387, 91 count: 4303, 98 count: 1616, 105 count: 59, 127 count: 13, 137 count: 241, 144 count: 221, 172 count: 12, 182 count: 242, [all …]
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/irq/ |
D | TabPaneIrqCounter.ts | 40 sumCount += Number.parseInt(selectCounterData.count || '0'); 42 selectCounterData.wallDuration / parseInt(selectCounterData.count) 94 selectData.count = list.length + ''; 119 … return parseInt(irqCounterLeftData.count) >= parseInt(irqCounterRightData.count) ? 1 : -1; 121 … return parseInt(irqCounterRightData.count) >= parseInt(irqCounterLeftData.count) ? 1 : -1; 126 irqCounterLeftData.wallDuration / parseInt(irqCounterLeftData.count) - 127 irqCounterRightData.wallDuration / parseInt(irqCounterRightData.count) 131 irqCounterRightData.wallDuration / parseInt(irqCounterRightData.count) - 132 irqCounterLeftData.wallDuration / parseInt(irqCounterLeftData.count)
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/irq/ |
D | TabPaneIrqCounter.ts | 40 sumCount += Number.parseInt(selectCounterData.count || '0'); 42 selectCounterData.wallDuration / parseInt(selectCounterData.count) 94 selectData.count = list.length + ''; 119 … return parseInt(irqCounterLeftData.count) >= parseInt(irqCounterRightData.count) ? 1 : -1; 121 … return parseInt(irqCounterRightData.count) >= parseInt(irqCounterLeftData.count) ? 1 : -1; 126 irqCounterLeftData.wallDuration / parseInt(irqCounterLeftData.count) - 127 irqCounterRightData.wallDuration / parseInt(irqCounterRightData.count) 131 irqCounterRightData.wallDuration / parseInt(irqCounterRightData.count) - 132 irqCounterLeftData.wallDuration / parseInt(irqCounterLeftData.count)
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/ |
D | TabPanePerfAnalysis.ts | 192 if (data.tableName !== '' && data.count !== 0) { 289 if (data.tableName !== '' && data.count !== 0) { 376 if (data.tableName !== '' && data.count !== 0) { 455 return sort === 1 ? a.count - b.count : b.count - a.count; 498 allCount += itemData.count; 509 let count = 0; variable 511 count += item.count; 517 percent: ((count / allCount) * 100).toFixed(2), 518 countFormat: Utils.timeMsFormat2p(count * (SpHiPerf.stringResult?.fValue || 1)), 519 count: count, [all …]
|
/developtools/profiler/device/base/test/unittest/ |
D | schedule_task_manager_test.cpp | 43 std::atomic<int> count = 0; variable 48 "task-1", [&]() { count++; }, ScheduleTaskManager::ms{0}, initalDelay)); in __anon368c6f590302() 51 EXPECT_EQ(count.load(), 1); 63 std::atomic<int> count = 0; variable 73 count++; in __anon368c6f590402() 85 EXPECT_EQ(count.load(), expected); 99 std::atomic<int> count = 0; variable 110 count++; in __anon368c6f590502() 123 EXPECT_EQ(count.load(), expected);
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/hiperf/ |
D | TabPanePerfAnalysis.ts | 196 if (data.tableName !== '' && data.count !== 0) { 289 if (data.tableName !== '' && data.count !== 0) { 376 if (data.tableName !== '' && data.count !== 0) { 455 return sort === 1 ? a.count - b.count : b.count - a.count; 498 allCount += itemData.count; 509 let count = 0; variable 511 count += item.count; 517 percent: ((count / allCount) * 100).toFixed(2), 518 countFormat: Utils.timeMsFormat2p(count * (SpHiPerf.stringResult?.fValue || 1)), 519 count: count, [all …]
|
/developtools/packing_tool/adapter/ohos/ |
D | ConvertHapToBin.java | 102 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/test/trace/component/chart/ |
D | SpHiSysEventChart.test.ts | 212 { count: 1, startNs: 5005933657, token: undefined, type: 1 }, 213 { count: 0, startNs: 6005938319, token: undefined, type: 1 }, 216 { 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 }, 225 { count: 1, startNs: 210000001, type: 0 }, [all …]
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/utils/ |
D | InputStreamUtils.java | 54 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/trace/component/trace/sheet/native-memory/ |
D | TabPaneNMCallTree.test.ts | 63 { size: 10, count: 20, children: [] }, 64 { size: 11, count: 21, children: [] }, 65 { size: 21, count: 31, children: [] }, 125 { size: 10, count: 20, children: [] }, 126 { size: 11, count: 21, children: [] }, 127 { size: 21, count: 31, children: [] }, 165 { id: 0, count: 20, children: [] }, 166 { id: 1, count: 21, children: [] }, 167 { id: 2, count: 31, children: [] },
|
/developtools/profiler/host/smartperf/ide/src/trace/component/metrics/ |
D | TraceStatsStrategy.ts | 21 count: number; 29 let counts = metricData[sqlIndex].count; 34 count: counts, 51 count: number; property
|
/developtools/smartperf_host/ide/src/trace/component/metrics/ |
D | TraceStatsStrategy.ts | 21 count: number; 29 let counts = metricData[sqlIndex].count; 34 count: counts, 51 count: number; property
|
/developtools/smartperf_host/ide/test/js-heap/logic/ |
D | Allocation.test.ts | 35 count: 1, 54 count: 43, 76 count: 23, 158 count: 1, 177 count: 1, 198 count: 66, 217 count: 21, 238 count: 61, 257 count: 81, 338 count: 211,
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/ |
D | TabPaneSmapsComparison.ts | 97 smapsComResults[i].count, 117 results[i].count, 146 diffItem!.count = diffItem!.count - item.count; 211 count: number; property in SmapsCompareStruct 225 count: number, 238 this.count = count; 255 this.count, 270 -this.count,
|
/developtools/profiler/device/plugins/diskio_plugin/src/ |
D | io_stats.cpp | 266 uint32_t count = 0; in PutCpuStatsData() local 272 count++; in PutCpuStatsData() 275 return count; in PutCpuStatsData() 310 uint32_t count = 0; in PutIoStatsData() local 316 count++; in PutIoStatsData() 319 return count; in PutIoStatsData() 369 uint32_t count = 0; in ParseLineFields() local 375 CHECK_TRUE(RemoveSpaces(&pTmp), count, "%s: RemoveSpaces failed!", __func__); in ParseLineFields() 385 CHECK_TRUE(FindFirstNum(&pTmp), count, "%s: FindFirstNum failed", __func__); in ParseLineFields() 387 CHECK_TRUE(num >= 0, count, "%s:strtoull failed", __func__); in ParseLineFields() [all …]
|
/developtools/profiler/device/plugins/ftrace_plugin/test/app/ |
D | busy_workers.cpp | 41 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/profiler/hiebpf/src/ |
D | command_helper.cpp | 31 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/ |
D | fstrace_code_generator.py | 184 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/host/smartperf/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerEnergySystem.ts | 59 if (re.count != undefined) { 60 a.workScheduler = re.count; 66 if (re.count != undefined) { 67 a.power = re.count + ''; 74 if (re.count != undefined) { 75 a.location = re.count + ''; 156 if (re.count != undefined) { 157 a.workScheduler = re.count; 163 if (re.count != undefined) { 164 a.power = re.count + ''; [all …]
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerEnergySystem.ts | 59 if (energySysStruct.count != undefined) { 60 energySystemData.workScheduler = energySysStruct.count; 66 if (energySysStruct.count != undefined) { 67 energySystemData.power = energySysStruct.count + ''; 74 if (energySysStruct.count != undefined) { 75 energySystemData.location = energySysStruct.count + ''; 156 if (filterElement.count != undefined) { 157 a.workScheduler = filterElement.count; 163 if (filterElement.count != undefined) { 164 a.power = filterElement.count + ''; [all …]
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
D | kernel_symbols_parser.cpp | 79 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/database/logic-worker/ |
D | ProcedureLogicWorkerSPT.ts | 147 ptsPMapObj!.count++; 149 ptsPMapObj!.avgDuration = (ptsPMapObj!.wallDuration / ptsPMapObj!.count).toFixed(2); 164 ptsPMapObj.count = 1; 171 ptsPtMapObj!.count++; 173 ptsPtMapObj!.avgDuration = (ptsPtMapObj!.wallDuration / ptsPtMapObj!.count).toFixed(2); 191 ptsPtMapObj.count = 1; 198 ptsPtsMapObj!.count++; 200 ptsPtsMapObj!.avgDuration = (ptsPtsMapObj!.wallDuration / ptsPtsMapObj!.count).toFixed(2); 219 ptsPtsMapObj.count = 1; 256 sptStateMapObj!.count++; [all …]
|