| /arkcompiler/runtime_core/runtime/tests/ |
| D | invokation_helper.h | 102 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/ |
| D | compiler_queue_counter_priority.h | 38 // 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()
|
| D | compiler_queue_aged_counter_priority.h | 24 /** 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()
|
| D | options.yaml | 84 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
|
| D | thread_manager.h | 254 // 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 …
|
| D | compiler_queue_interface.h | 35 << ", hotness counter: " << ctx.GetMethod()->GetHotnessCounter() << ")"; in GetTaskDescription()
|
| /arkcompiler/runtime_core/tests/benchmarks/ |
| D | bitops-nsieve-bits.pa | 26 movi v5, 0 #loop counter 65 movi v0, 2 #loop counter 115 movi v1, 0 #loop counter
|
| D | 3d-morph.pa | 32 movi v5, 0 #loop counter 102 movi v7, 0 #loop counter 106 movi v8, 0 #loop2 counter
|
| D | bitops-3bit-bits-in-byte.pa | 24 movi v4, 0 #loop counter 27 movi v5, 0 #loop2 counter
|
| D | math-partial-sums.pa | 36 mov v5, a0 #loop counter 85 movi v28, 1 #loop counter
|
| D | bitops-bits-in-byte.pa | 24 movi v4, 0 #loop counter
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | gc_trigger.cpp | 257 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/ |
| D | profiling_data.h | 215 … [](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/ |
| D | method_literal.h | 210 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/ |
| D | js_single_step_test.h | 27 ASSERT_NE(stepCounter_, 0); // 0: step counter in JsSingleStepTest() 28 ASSERT_EQ(breakpointCounter_, 2); // 2: break point counter in JsSingleStepTest()
|
| D | js_syntax_exception_test.h | 83 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsSyntaxExceptionTest() 84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsSyntaxExceptionTest()
|
| D | js_exception_test.h | 83 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsExceptionTest() 84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsExceptionTest()
|
| D | js_range_error_test.h | 83 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsRangeErrorTest() 84 ASSERT_EQ(exceptionCounter_, 1U); // 1: exception counter in JsRangeErrorTest()
|
| D | js_throw_exception_test.h | 86 ASSERT_EQ(breakpointCounter_, 1U); // 1: break point counter in JsThrowExceptionTest() 87 ASSERT_EQ(exceptionCounter_, 2U); // 2: exception counter in JsThrowExceptionTest()
|
| D | js_step_over_test.h | 27 ASSERT_EQ(breakpointCounter_, pointerLocations_.size()); // size: break point counter in JsStepOverTest() 28 ASSERT_EQ(stepCompleteCounter_, stepLocations_.size()); // size: step complete counter in JsStepOverTest()
|
| D | js_step_out_test.h | 27 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/ |
| D | ecma_string_table.cpp | 210 int counter = 0; in CheckStringTableValidity() local 217 ++counter; in CheckStringTableValidity() 220 if (counter > 1) { in CheckStringTableValidity()
|
| D | method.h | 225 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/ |
| D | math-partial-sums.pa | 37 mov v5, a0 #loop counter 86 movi v28, 1 #loop counter
|
| /arkcompiler/runtime_core/docs/ |
| D | runtime-compiled_code-interaction.md | 21 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.
|