Home
last modified time | relevance | path

Searched full:counter (Results 1 – 25 of 59) sorted by relevance

123

/arkcompiler/runtime_core/runtime/tests/
Dinvokation_helper.h102 arch::ArgCounter<RUNTIME_ARCH> counter; in InvokeEntryPoint() local
103 counter.Count<Method *>(); in InvokeEntryPoint()
105 counter.Count<ObjectHeader *>(); in InvokeEntryPoint()
118 counter.Count<int32_t>(); in InvokeEntryPoint()
121 counter.Count<float>(); in InvokeEntryPoint()
124 counter.Count<double>(); in InvokeEntryPoint()
128 counter.Count<int64_t>(); in InvokeEntryPoint()
131 counter.Count<ObjectHeader *>(); in InvokeEntryPoint()
134 counter.Count<DecodedTaggedValue>(); in InvokeEntryPoint()
146 PandaVector<uint8_t> stack(counter.GetStackSpaceSize()); in InvokeEntryPoint()
[all …]
/arkcompiler/runtime_core/runtime/
Dcompiler_queue_counter_priority.h38 // Do not return method->counter as it can changed during sorting in GetCounter()
68 /** The counter priority queue sorts all tasks (methods) by its hotness counters.
69 * It extracts the most hot method for compilation (the greater counter).
71 * Note, in case of skip the method due to length limit, its hotness counter is reset.
84 SetQueueName("priority counter compilation queue"); in CompilerPriorityCounterQueue()
109 // Reset the counter of the rejected method;
141 // The only way to update counter in UpdateCounterAndCheck()
168 // First, handle a method with higher hotness counter in operator()
178 … // We should update the counter inside as the queue choose the semantic of the counter by itself in UpdateQueue()
Dcompiler_queue_aged_counter_priority.h24 /** The aged counter priority queue works mostly as counter priority queue (see description),
26 * If the aged counter is less then some death value, it is considered as expired and is removed.
27 * Epoch duration and death counter is configured.
41 SetQueueName("priority aged counter compilation queue"); in CompilerPriorityAgedCounterQueue()
Doptions.yaml84 description: Threshold for "hotness" counter of the method after that it will be compiled
468 default: counter-priority
471 - counter-priority
472 - aged-counter-priority
478 description: A time in milliseconds of task life span in compiler counter priority queue
488 description: Duration in milliseconds of an epoch in compiler aged counter priority queue
490 - name: compiler-death-counter-value
493 description: Minimum value of aged counter, which will be still considered
Dthread_manager.h254 // Counter used to suspend newly created threads after SuspendAllThreads/SuspendDaemonThreads
272 // A specific counter of threads, which are not completely created
273 …// When the counter != 0, operations with thread set are permitted to avoid destruction of shared …
Dcompiler_queue_interface.h35 << ", hotness counter: " << ctx.GetMethod()->GetHotnessCounter() << ")"; in GetTaskDescription()
/arkcompiler/runtime_core/tests/benchmarks/
Dbitops-nsieve-bits.pa26 movi v5, 0 #loop counter
65 movi v0, 2 #loop counter
115 movi v1, 0 #loop counter
D3d-morph.pa32 movi v5, 0 #loop counter
102 movi v7, 0 #loop counter
106 movi v8, 0 #loop2 counter
Dbitops-3bit-bits-in-byte.pa24 movi v4, 0 #loop counter
27 movi v5, 0 #loop2 counter
Dmath-partial-sums.pa36 mov v5, a0 #loop counter
85 movi v28, 1 #loop counter
Dbitops-bits-in-byte.pa24 movi v4, 0 #loop counter
/arkcompiler/runtime_core/runtime/mem/gc/
Dgc_trigger.cpp257 static std::atomic<uint64_t> counter = 0; in IsGcTriggered() local
258 LOG(DEBUG, GC_TRIGGER) << "GCTriggerDebug counter " << counter; in IsGcTriggered()
259 if (counter >= debug_start_) { in IsGcTriggered()
263 counter++; in IsGcTriggered()
/arkcompiler/runtime_core/runtime/jit/
Dprofiling_data.h215 … [](const auto &a, uintptr_t counter) { return a.GetBytecodePc() < counter; }); in FindInlineCache()
260 … [](const auto &a, uintptr_t counter) { return a.GetPc() < counter; }); in FindBranchData()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dmethod_literal.h210 inline NO_THREAD_SANITIZE void SetHotnessCounter(int16_t counter) in SetHotnessCounter()
212 literalInfo_ = HotnessCounterBits::Update(literalInfo_, counter); in SetHotnessCounter()
267 static uint64_t SetHotnessCounter(uint64_t literalInfo, int16_t counter) in SetHotnessCounter()
269 return HotnessCounterBits::Update(literalInfo, counter); in SetHotnessCounter()
/arkcompiler/toolchain/tooling/test/testcases/
Djs_single_step_test.h27 ASSERT_NE(stepCounter_, 0); // 0: step counter in JsSingleStepTest()
28 ASSERT_EQ(breakpointCounter_, 2); // 2: break point counter in JsSingleStepTest()
Djs_syntax_exception_test.h83 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsSyntaxExceptionTest()
84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsSyntaxExceptionTest()
Djs_exception_test.h83 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsExceptionTest()
84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsExceptionTest()
Djs_range_error_test.h83 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsRangeErrorTest()
84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsRangeErrorTest()
Djs_throw_exception_test.h86 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsThrowExceptionTest()
87 ASSERT_EQ(exceptionCounter_, 2U); // 2: exception counter in JsThrowExceptionTest()
Djs_step_over_test.h27 ASSERT_EQ(breakpointCounter_, pointerLocations_.size()); // size: break point counter in JsStepOverTest()
28 ASSERT_EQ(stepCompleteCounter_, stepLocations_.size()); // size: step complete counter in JsStepOverTest()
Djs_step_out_test.h27 ASSERT_EQ(breakpointCounter_, pointerLocations_.size()); // size: break point counter in JsStepOutTest()
28 ASSERT_EQ(stepCompleteCounter_, stepLocations_.size()); // size: step complete counter in JsStepOutTest()
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp210 int counter = 0; in CheckStringTableValidity() local
217 ++counter; in CheckStringTableValidity()
220 if (counter > 1) { in CheckStringTableValidity()
Dmethod.h225 inline NO_THREAD_SANITIZE void SetHotnessCounter(int16_t counter) in SetHotnessCounter() argument
228 uint64_t newValue = MethodLiteral::SetHotnessCounter(literalInfo, counter); in SetHotnessCounter()
420 // hotness counter is encoded in a js method field, the first uint16_t in a uint64_t.
/arkcompiler/runtime_core/tests/regression/
Dmath-partial-sums.pa37 mov v5, a0 #loop counter
86 movi v28, 1 #loop counter
/arkcompiler/runtime_core/docs/
Druntime-compiled_code-interaction.md21 hotness counter (see [Structure of `panda::Method`](#structure-of-pandamethod)) of managed function…
66 | hotness_counter_ | A hotness counter of the managed function. |
69 ### Hotness counter
72 When the hotness counter gets saturated (reaches the threshold) the interpreter triggers compilatio…
73 Panda runtime provides a command line option to tune the hotness counter threshold: `--compiler-hot…
403 …e into stack pointer, assign the return address determined at the previous step to program counter.

123