Home
last modified time | relevance | path

Searched refs:MAX_STACK_SIZE (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/
H A Dbacktrace.cpp24 static const int MAX_STACK_SIZE = 256; member
29 void *buffer[MAX_STACK_SIZE]; in Backtrace()
31 int framesLen = backtrace(buffer, MAX_STACK_SIZE); in Backtrace()
/arkcompiler/ets_runtime/ecmascript/platform/unix/ohos/
H A Dbacktrace.cpp43 static const int MAX_STACK_SIZE = 16; member
70 size = OHOS::HiviewDFX::FpUnwinder::GetPtr()->Unwind(pc, fp, pcs, MAX_STACK_SIZE); in GetPcs()
72 size = OHOS::HiviewDFX::FpUnwinder::GetPtr()->UnwindSafe(pc, fp, pcs, MAX_STACK_SIZE); in GetPcs()
91 size = unwBackTrace(reinterpret_cast<void**>(pcs), MAX_STACK_SIZE); in GetPcs()
98 uintptr_t pcs[MAX_STACK_SIZE] = {0}; in Backtrace()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
H A Dsamples_record.h32 const int MAX_STACK_SIZE = 128; // 128:the maximum size of the js stack member
81 struct FrameInfoTemp frameInfoTemps[MAX_STACK_SIZE] = {};
82 struct MethodKey frameStack[MAX_STACK_SIZE] = {};
204 struct MethodKey frameStack_[MAX_STACK_SIZE] = {};
207 FrameInfoTemp frameInfoTemps_[MAX_STACK_SIZE] = {};
H A Dsamples_record.cpp425 if (UNLIKELY(frameStackLength_ >= MAX_STACK_SIZE)) { in PushFrameStack()
434 if (UNLIKELY(napiFrameStack_.size() >= MAX_STACK_SIZE)) { in PushNapiFrameStack()
484 if (UNLIKELY(frameInfoTempLength_ >= MAX_STACK_SIZE)) { in PushStackInfo()
493 if (UNLIKELY(napiFrameInfoTemps_.size() == MAX_STACK_SIZE)) { in PushNapiStackInfo()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/tests/
H A Dsamples_record_test.cpp201 for (size_t i = 0; i < MAX_STACK_SIZE; ++i) { in HWTEST_F_L0()
207 for (size_t i = 0; i < MAX_STACK_SIZE; ++i) { in HWTEST_F_L0()
214 for (size_t i = 0; i < MAX_STACK_SIZE; ++i) { in HWTEST_F_L0()
220 for (size_t i = 0; i < MAX_STACK_SIZE; ++i) { in HWTEST_F_L0()

Completed in 3 milliseconds