Home
last modified time | relevance | path

Searched refs:recordedIdleNotifyInterval_ (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_idle_monitor.cpp41 recordedIdleNotifyInterval_.Push(notifyInterval); in ShouldTryTriggerGC()
44 recordedIdleNotifyInterval_.Count() != IDLE_CHECK_INTERVAL_LENGTH) { in ShouldTryTriggerGC()
47 int64_t sumInterval = recordedIdleNotifyInterval_.Sum([](int64_t a, int64_t b) {return a + b;}, 0); in ShouldTryTriggerGC()
48 int64_t averageInterval = sumInterval / recordedIdleNotifyInterval_.Count(); in ShouldTryTriggerGC()
H A Dark_idle_monitor.h186 RingBuffer<int64_t, IDLE_CHECK_INTERVAL_LENGTH> recordedIdleNotifyInterval_; member in panda::ecmascript::ArkIdleMonitor

Completed in 2 milliseconds