Home
last modified time | relevance | path

Searched refs:Count (Results 1 – 25 of 39) sorted by relevance

12

/arkcompiler/ets_runtime/test/aottest/loop_hoist/
Dexpect_output.txt14 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1
15 [trace] Opcode: LOAD_PROPERTY Count:0
16 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1
17 [trace] Opcode: LOAD_PROPERTY Count:0
18 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1
19 [trace] Opcode: LOAD_PROPERTY Count:1
20 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1
21 [trace] Opcode: LOAD_PROPERTY Count:1
22 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1
23 [trace] Opcode: LOAD_PROPERTY Count:1
[all …]
/arkcompiler/runtime_core/static_core/verification/util/tests/
Dobj_pool_test.cpp51 EXPECT_EQ(pool.Count(), 2); in TEST()
57 EXPECT_EQ(pool.Count(), 2); in TEST()
65 EXPECT_EQ(pool.Count(), 2); in TEST()
74 EXPECT_EQ(pool.Count(), 2); in TEST()
80 EXPECT_EQ(pool.Count(), 3); in TEST()
85 EXPECT_EQ(pool.Count(), 3); in TEST()
91 EXPECT_EQ(pool.Count(), 3); in TEST()
98 EXPECT_EQ(pool.Count(), 3); in TEST()
107 EXPECT_EQ(pool.Count(), 2); in TEST()
113 EXPECT_EQ(pool.Count(), 2); in TEST()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
Dopt_code_profiler.cpp37 return x.second.Count() > y.second.Count(); in PrintAndReset()
59 if (val.Count() == 0) { in PrintAndReset()
65 << std::setw(numberRightAdjustment) << val.Count() in PrintAndReset()
68 … << std::setw(numberRightAdjustment) << val.TypedPathCount() * hundred / val.Count() << "%"; in PrintAndReset()
70 totalCount += val.Count(); in PrintAndReset()
99 return x.second.Count() > y.second.Count(); in FilterMethodToPrint()
120 if (record.Count() == 0 || record.Count() < static_cast<uint64_t>(skipMaxCount_)) { in PrintMethodRecord()
126 << std::setw(numberRightAdjustment) << record.Count() in PrintMethodRecord()
129 … << std::setw(numberRightAdjustment) << record.GetFast() * hundred / record.Count() << "%"; in PrintMethodRecord()
Dopt_code_profiler.h73 uint64_t Count() const in Count() function
117 uint64_t Count() const in Count() function
139 uint64_t Count() const in Count() function
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dgc_ring_buffer_test.cpp62 EXPECT_EQ(gcBuffer.Count(), 0); in HWTEST_F_L0()
66 EXPECT_EQ(gcBuffer.Count(), LENGTH); in HWTEST_F_L0()
93 EXPECT_EQ(gcBuffer.Count(), LENGTH); in HWTEST_F_L0()
114 EXPECT_EQ(gcBuffer.Count(), 1); in HWTEST_F_L0()
117 EXPECT_EQ(gcBuffer.Count(), 0); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dinvokation_helper.h104 counter.Count<Method *>(); in InvokeEntryPoint()
106 counter.Count<ObjectHeader *>(); in InvokeEntryPoint()
119 counter.Count<int32_t>(); in InvokeEntryPoint()
122 counter.Count<float>(); in InvokeEntryPoint()
125 counter.Count<double>(); in InvokeEntryPoint()
129 counter.Count<int64_t>(); in InvokeEntryPoint()
132 counter.Count<ObjectHeader *>(); in InvokeEntryPoint()
135 counter.Count<coretypes::TaggedValue>(); in InvokeEntryPoint()
160 counter.Count<Method *>(); in InvokeDynEntryPoint()
161 counter.Count<uint32_t>(); in InvokeDynEntryPoint()
[all …]
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dcpu_affinity.cpp46 size_t CpuSet::Count() const in Count() function in panda::os::CpuSet
58 return Count() == 0U; in IsEmpty()
205 if (bestCpuSet_.Count() + weakCpuSet_.Count() >= cpuCount_) { in LoadCpuFreq()
208 … for (auto it = cpu.begin() + bestCpuSet_.Count(); it != cpu.end() - weakCpuSet_.Count(); ++it) { in LoadCpuFreq()
211 ASSERT(bestCpuSet_.Count() + middleCpuSet_.Count() + weakCpuSet_.Count() == cpuCount_); in LoadCpuFreq()
/arkcompiler/runtime_core/static_core/runtime/
Dosr.cpp239 counter.Count<Method *>(); in GetStackParamsSize()
241 counter.Count<ObjectHeader *>(); in GetStackParamsSize()
254 counter.Count<int32_t>(); in GetStackParamsSize()
257 counter.Count<float>(); in GetStackParamsSize()
260 counter.Count<double>(); in GetStackParamsSize()
264 counter.Count<int64_t>(); in GetStackParamsSize()
267 counter.Count<ObjectHeader *>(); in GetStackParamsSize()
270 counter.Count<coretypes::TaggedType>(); in GetStackParamsSize()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi_helpers.cpp94 counter.Count<EtsEnv *>(); // EtsEnv arg in EtsNapiCalcStackArgsSpaceSize()
95 counter.Count<ObjectHeader *>(); // class or this arg in EtsNapiCalcStackArgsSpaceSize()
109 counter.Count<bool>(); in EtsNapiCalcStackArgsSpaceSize()
113 counter.Count<uint8_t>(); in EtsNapiCalcStackArgsSpaceSize()
117 counter.Count<uint16_t>(); in EtsNapiCalcStackArgsSpaceSize()
121 counter.Count<uint32_t>(); in EtsNapiCalcStackArgsSpaceSize()
124 counter.Count<float>(); in EtsNapiCalcStackArgsSpaceSize()
127 counter.Count<double>(); in EtsNapiCalcStackArgsSpaceSize()
131 counter.Count<uint64_t>(); in EtsNapiCalcStackArgsSpaceSize()
134 counter.Count<ObjectHeader *>(); in EtsNapiCalcStackArgsSpaceSize()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/
Dcallconv.cpp196 auto lastCalleeReg = spToRegsSlots + calleeRegsMask.Count(); in GeneratePrologue()
197 … auto lastCalleeVreg = spToRegsSlots + fl.GetCalleeRegistersCount(false) + calleeVregsMask.Count(); in GeneratePrologue()
234 auto lastCalleeReg = fl.GetRegsSlotsCount() - calleeRegsMask.Count(); in GenerateEpilogue()
235 …tCalleeVreg = fl.GetRegsSlotsCount() - fl.GetCalleeRegistersCount(false) - calleeVregsMask.Count(); in GenerateEpilogue()
245 auto lastCalleeReg = spToRegsSlots + calleeRegsMask.Count(); in GenerateEpilogue()
246 … auto lastCalleeVreg = spToRegsSlots + fl.GetCalleeRegistersCount(false) + calleeVregsMask.Count(); in GenerateEpilogue()
327 auto lastCalleeReg = spToRegsSlots + calleeRegsMask.Count(); in GenerateNativePrologue()
328 … auto lastCalleeVreg = spToRegsSlots + fl.GetCalleeRegistersCount(false) + calleeVregsMask.Count(); in GenerateNativePrologue()
366 auto lastCalleeReg = fl.GetRegsSlotsCount() - calleeRegsMask.Count(); in GenerateNativeEpilogue()
367 …tCalleeVreg = fl.GetRegsSlotsCount() - fl.GetCalleeRegistersCount(false) - calleeVregsMask.Count(); in GenerateNativeEpilogue()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dtagged_node.cpp49 uint32_t RBTreeNode::Count(JSTaggedValue nodeValue) in Count() function in panda::ecmascript::RBTreeNode
217 uint32_t count = Count(treeNode->GetLeft()) + Count(treeNode->GetRight()) + 1; in Set()
236 uint32_t count = Count(GetLeft()) + Count(GetRight()) + 1; in RotateLeft()
255 uint32_t count = Count(GetLeft()) + Count(GetRight()) + 1; in RotateRight()
288 uint32_t count = Count(treeNode->GetLeft()) + Count(treeNode->GetRight()) + 1; in Balance()
Dtagged_node.h131 ACCESSORS_PRIMITIVE_FIELD(Count, uint32_t, COUNT_OFFSET, LAST_OFFSET)
149 static uint32_t Count(JSTaggedValue nodeValue);
/arkcompiler/runtime_core/libpandabase/utils/
Dregmask.h127 constexpr size_t Count() const in Count() function
134 return (Count() & 1U) == 0; in CountIsEven()
278 return Count(); in count()
Darch.h252 return GetCalleeRegsMask(arch, is_fp).Count();
267 return GetCallerRegsMask(arch, is_fp).Count();
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dregmask.h127 constexpr size_t Count() const in Count() function
134 return (Count() & 1U) == 0; in CountIsEven()
285 return Count(); in count()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dcpu_affinity.cpp43 size_t CpuSet::Count() const in Count() function in panda::os::CpuSet
63 return Count() == 0U; in IsEmpty()
/arkcompiler/ets_runtime/ecmascript/base/
Dgc_ring_buffer.h48 int Count() const in Count() function
/arkcompiler/ets_runtime/test/aottest/pgo_ldobjbyvalue_string/
Dexpect_output.txt14 [trace] Opcode: LOAD_ELEMENT Count:2
/arkcompiler/runtime_core/static_core/verification/value/
Dvariables.h87 return varPool_.Count() - varPool_.FreeCount(); in AmountOfUsedVars()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/
Dgc_workers_thread_pool.cpp64 if (gcThreadsCount < bestAndMiddle.Count()) { in SetAffinity()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dregmask_test.cpp26 ASSERT_EQ(mask.Count(), base.count()); in CompareWithBitset()
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dcpu_affinity.h59 [[nodiscard]] PANDA_PUBLIC_API size_t Count() const;
/arkcompiler/runtime_core/libpandabase/tests/
Dregmask_test.cpp26 ASSERT_EQ(mask.Count(), base.count()); in CompareWithBitset()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dencode.h733 bool isEven {(regs.Count() + fpRegs.Count()) % 2U == 0U};
741 bool isEven {(regs.Count() + fpRegs.Count()) % 2U == 0U};
793 return GetScratchRegistersMask().Count(); in GetScratchRegistersCount()
803 return GetScratchFpRegistersMask().Count(); in GetScratchFPRegistersCount()
/arkcompiler/ets_runtime/ecmascript/mem/
Dmem_controller.h131 int count = recordedSurvivalRates_.Count(); in GetAverageSurvivalRate()

12