Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dgc_stats.cpp563 size_t sweepSpeed = GetRecordData(RecordData::START_OBJ_SIZE) / scopeDuration_[Scope::ScopeId::Sweep]; in RecordGCSpeed() local
565 (sweepSpeed + gcSpeed_[(uint8_t)SpeedData::SWEEP_SPEED]) / 2; // 2 means half in RecordGCSpeed()
H A Dheap.cpp1818 size_t sweepSpeed = GetEcmaGCStats()->GetGCSpeed(SpeedData::SWEEP_SPEED); in CalculateIdleDuration() local
1820 if (sweepSpeed != 0) { in CalculateIdleDuration()
1821 idlePredictDuration_ += (float)GetHeapObjectSize() / sweepSpeed; in CalculateIdleDuration()

Completed in 6 milliseconds