Searched refs:profileInfo (Results 1 - 12 of 12) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/ |
H A D | tracing.cpp | 67 std::unique_ptr<ProfileInfo> profileInfo = panda::DFXJSNApi::StopCpuProfilerForInfo(vm_); in StopTracing() local 69 if (profileInfo) { in StopTracing() 70 TraceEventUpdateCpuProfiler(profileInfo.get()); in StopTracing() 129 void Tracing::TraceEventRecordCpuProfilerStart(struct ProfileInfo* profileInfo) in TraceEventRecordCpuProfilerStart() argument 132 std::string args = "{\"data\":{\"startTime\":" + std::to_string(profileInfo->startTime) + "}}"; in TraceEventRecordCpuProfilerStart() 143 void Tracing::TraceEventRecordCpuProfiler(struct ProfileInfo* profileInfo, int &nodePos, uint32_t &samplePos) in TraceEventRecordCpuProfiler() argument 156 if (nodePos >= 0 && profileInfo->nodeCount > nodePos) { in TraceEventRecordCpuProfiler() 157 for (int i = nodePos; i < profileInfo->nodeCount; ++i) { in TraceEventRecordCpuProfiler() 158 args.nodes.emplace_back(profileInfo->nodes[i].id); in TraceEventRecordCpuProfiler() 160 nodePos = profileInfo in TraceEventRecordCpuProfiler() 175 TraceEventUpdateCpuProfiler(struct ProfileInfo *profileInfo) TraceEventUpdateCpuProfiler() argument 252 TraceEventRecordCpuProfilerEnd(struct ProfileInfo* profileInfo) TraceEventRecordCpuProfilerEnd() argument [all...] |
H A D | tracing.h | 103 void TraceEventRecordCpuProfilerStart(struct ProfileInfo* profileInfo); 104 void TraceEventRecordCpuProfiler(struct ProfileInfo* profileInfo, int &nodePos, uint32_t &samplePos); 105 void TraceEventRecordCpuProfilerEnd(struct ProfileInfo* profileInfo); 108 void TraceEventUpdateCpuProfiler(struct ProfileInfo *profileInfo);
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/tests/ |
H A D | cpu_profiler_test.cpp | 48 bool StopCpuProfilerForInfoTest(std::unique_ptr<struct ProfileInfo> &profileInfo) in StopCpuProfilerForInfoTest() argument 50 return cpu_profiler.StopCpuProfilerForInfo(profileInfo); in StopCpuProfilerForInfoTest() 142 std::unique_ptr<ProfileInfo> profileInfo; in HWTEST_F_L0() local 144 ret = cpuProfilerFriend.StopCpuProfilerForInfoTest(profileInfo); in HWTEST_F_L0() 148 ret = cpuProfilerFriend.StopCpuProfilerForInfoTest(profileInfo); in HWTEST_F_L0() 153 ret = cpuProfilerFriend.StopCpuProfilerForInfoTest(profileInfo); in HWTEST_F_L0() 181 std::unique_ptr<ProfileInfo> profileInfo = DFXJSNApi::StopCpuProfilerForInfo(instance); in HWTEST_F_L0() local 182 size_t nodesLen = profileInfo->nodeCount; in HWTEST_F_L0() 186 const auto &cpuProfileNode = profileInfo->nodes[i]; in HWTEST_F_L0()
|
H A D | samples_record_test.cpp | 183 std::unique_ptr<ProfileInfo> profileInfo = samplesRecord.GetProfileInfoTest(); in HWTEST_F_L0() local 184 EXPECT_EQ(profileInfo->asmInterpreterDeoptTime, 100); in HWTEST_F_L0() 185 EXPECT_EQ(profileInfo->gcTime, 101); in HWTEST_F_L0() 186 EXPECT_EQ(profileInfo->cInterpreterTime, 102); in HWTEST_F_L0() 187 EXPECT_EQ(profileInfo->asmInterpreterTime, 103); in HWTEST_F_L0() 188 EXPECT_EQ(profileInfo->aotTime, 104); in HWTEST_F_L0() 189 EXPECT_EQ(profileInfo->builtinTime, 105); in HWTEST_F_L0() 190 EXPECT_EQ(profileInfo->napiTime, 106); in HWTEST_F_L0() 191 EXPECT_EQ(profileInfo->arkuiEngineTime, 107); in HWTEST_F_L0() 192 EXPECT_EQ(profileInfo in HWTEST_F_L0() [all...] |
/arkcompiler/toolchain/tooling/agent/ |
H A D | profiler_impl.cpp | 274 auto profileInfo = panda::DFXJSNApi::StopCpuProfilerForInfo(vm_); in Stop() local 275 if (profileInfo == nullptr) { in Stop() 279 *profile = Profile::FromProfileInfo(*profileInfo); in Stop()
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
H A D | cpu_profiler.h | 110 bool StopCpuProfilerForInfo(std::unique_ptr<struct ProfileInfo> &profileInfo);
|
H A D | cpu_profiler.cpp | 177 bool CpuProfiler::StopCpuProfilerForInfo(std::unique_ptr<struct ProfileInfo> &profileInfo) in StopCpuProfilerForInfo() argument 199 profileInfo = generator_->GetProfileInfo(); in StopCpuProfilerForInfo()
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.cpp | 2741 std::unique_ptr<Profile> Profile::FromProfileInfo(const ProfileInfo &profileInfo) in FromProfileInfo() argument 2744 profile->SetTid(static_cast<int64_t>(profileInfo.tid)); in FromProfileInfo() 2745 profile->SetStartTime(static_cast<int64_t>(profileInfo.startTime)); in FromProfileInfo() 2746 profile->SetEndTime(static_cast<int64_t>(profileInfo.stopTime)); in FromProfileInfo() 2747 profile->SetGcTime(static_cast<int64_t>(profileInfo.gcTime)); in FromProfileInfo() 2748 profile->SetCInterpreterTime(static_cast<int64_t>(profileInfo.cInterpreterTime)); in FromProfileInfo() 2749 profile->SetAsmInterpreterTime(static_cast<int64_t>(profileInfo.asmInterpreterTime)); in FromProfileInfo() 2750 profile->SetAotTime(static_cast<int64_t>(profileInfo.aotTime)); in FromProfileInfo() 2751 profile->SetBuiltinTime(static_cast<int64_t>(profileInfo.builtinTime)); in FromProfileInfo() 2752 profile->SetNapiTime(static_cast<int64_t>(profileInfo in FromProfileInfo() [all...] |
H A D | pt_types.h | 2153 static std::unique_ptr<Profile> FromProfileInfo(const ProfileInfo &profileInfo);
|
/arkcompiler/toolchain/tooling/test/ |
H A D | tracing_impl_test.cpp | 61 auto profileInfo = tracing->End(); in HWTEST_F_L0() local 62 ASSERT_TRUE(profileInfo != nullptr); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | dfx_jsnapi.cpp | 745 std::unique_ptr<ProfileInfo> profileInfo; in StopCpuProfilerForInfo() local 746 bool result = profiler->StopCpuProfilerForInfo(profileInfo); in StopCpuProfilerForInfo() 754 return profileInfo; in StopCpuProfilerForInfo()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler.cpp | 571 ProfileTypeInfo *profileInfo = ProfileTypeInfo::Cast((profileCell->GetValue()).GetTaggedObject()); in HasValidExtraProfileTypeInfo() local 572 JSTaggedValue map = profileInfo->GetExtraInfoMap(); in HasValidExtraProfileTypeInfo()
|
Completed in 20 milliseconds