Home
last modified time | relevance | path

Searched refs:isEnable (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_manager.h96 std::shared_ptr<PGOProfiler> Build(EcmaVM *vm, bool isEnable) in Build() argument
98 if (isEnable) { in Build()
99 isEnable = InitializeData(); in Build()
101 auto profiler = std::make_shared<PGOProfiler>(vm, isEnable); in Build()
129 void Reset(const std::shared_ptr<PGOProfiler>& profiler, bool isEnable) in Reset() argument
131 if (isEnable) { in Reset()
132 isEnable = InitializeData(); in Reset()
135 profiler->Reset(isEnable); in Reset()
H A Dpgo_profiler.h58 PGOProfiler(EcmaVM *vm, bool isEnable);
339 void Reset(bool isEnable);
H A Dpgo_profiler.cpp1914 PGOProfiler::PGOProfiler(EcmaVM* vm, bool isEnable) in PGOProfiler() argument
1915 : nativeAreaAllocator_(std::make_unique<NativeAreaAllocator>()), vm_(vm), isEnable_(isEnable) in PGOProfiler()
1927 void PGOProfiler::Reset(bool isEnable) in Reset() argument
1930 isEnable_ = isEnable; in Reset()

Completed in 6 milliseconds