Home
last modified time | relevance | path

Searched refs:isEnable (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_manager.h61 PGOProfiler *Build(EcmaVM *vm, bool isEnable) in Build() argument
63 if (isEnable) { in Build()
64 isEnable = InitializeData(); in Build()
66 return new PGOProfiler(vm, isEnable); in Build()
82 void Reset(PGOProfiler *profiler, bool isEnable) in Reset() argument
84 if (isEnable) { in Reset()
85 isEnable = InitializeData(); in Reset()
88 profiler->Reset(isEnable); in Reset()
Dpgo_profiler.h49 PGOProfiler([[maybe_unused]] EcmaVM *vm, bool isEnable) : isEnable_(isEnable) in PGOProfiler() argument
61 void Reset(bool isEnable) in Reset() argument
63 isEnable_ = isEnable; in Reset()