Home
last modified time | relevance | path

Searched refs:JSProfiler (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_profiler.cpp162 JSProfiler::JSProfiler() : data_(nullptr), dataCount_(0), traceIdSlot_(0), enabled_(false), msg_(nu… in JSProfiler() function in OHOS::ACELite::JSProfiler
164 JSProfiler::JSProfiler() : data_(nullptr), dataCount_(0), traceIdSlot_(0), enabled_(false) {} in JSProfiler() function in OHOS::ACELite::JSProfiler
167 JSProfiler::~JSProfiler() {} in ~JSProfiler()
169 JSProfiler *JSProfiler::GetInstance() in GetInstance()
171 static JSProfiler profilerInstance; in GetInstance()
175 bool JSProfiler::IsEnabled() in IsEnabled()
184 void JSProfiler::PrepareDataBuffer() in PrepareDataBuffer()
254 void JSProfiler::Release() in Release()
262 void JSProfiler::ResetData() in ResetData()
329 void JSProfiler::PopTrace() in PopTrace()
[all …]
H A Djs_profiler.h29 #define START_TRACING(traceTag) JSProfiler::GetInstance()->PushTrace(traceTag, 0, 0)
32 JSProfiler::GetInstance()->PushTrace(traceTag, componentNameId, 0)
34 JSProfiler::GetInstance()->PushTrace(traceTag, componentNameId, extraInfoId)
36 #define STOP_TRACING() JSProfiler::GetInstance()->PopTrace()
37 #define OUTPUT_TRACE() JSProfiler::GetInstance()->Output()
135 class JSProfiler final : public MemoryHeap {
137 ACE_DISALLOW_COPY_AND_MOVE(JSProfiler);
141 JSProfiler();
146 ~JSProfiler();
153 static JSProfiler *GetInstance();
H A Djs_ability_impl.h55 JSProfiler::GetInstance()->PrepareDataBuffer(); in JSAbilityImpl()
70 JSProfiler::GetInstance()->Release(); in ~JSAbilityImpl()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/interfaces/profiler/
H A Djs_profiler.cpp28 void JSProfiler::JSBind(BindingTarget globalObj) in JSBind()
30 JSClass<JSProfiler>::Declare("Profiler"); in JSBind()
31 … JSClass<JSProfiler>::StaticMethod("registerVsyncCallback", &JSProfiler::JsRegisterVsyncCallback); in JSBind()
32 …JSClass<JSProfiler>::StaticMethod("unregisterVsyncCallback", &JSProfiler::JsUnregisterVsyncCallbac… in JSBind()
33 JSClass<JSProfiler>::Bind<>(globalObj); in JSBind()
36 void JSProfiler::JsRegisterVsyncCallback(const JSCallbackInfo& args) in JsRegisterVsyncCallback()
59 void JSProfiler::JsUnregisterVsyncCallback() in JsUnregisterVsyncCallback()
H A Djs_profiler.h23 class JSProfiler {
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/router/
H A Djs_page_state_machine.cpp334 if (JSProfiler::GetInstance()->IsEnabled()) { in ForceGC()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_view_register_impl.cpp1090 JSProfiler::JSBind(globalObj); in JsBindFormViews()
1140 JSProfiler::JSBind(globalObj); in JsBindViews()
H A Djsi_view_register_impl_ng.cpp645 JSProfiler::JSBind(globalObj); in JsBindViews()