зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1846270 - Fix parallel marking utilization telemetry broken by previous patch in this bug r=sfink
My previous patch changed the way |parallelRunTime| is calculated by adding waiting time where it was previously subtracted. The utilization telemetry is meant to show the fraction of time the helper threads spent running so waiting time should not be included. Differential Revision: https://phabricator.services.mozilla.com/D185578
This commit is contained in:
Родитель
6f9c680fb3
Коммит
385f79fdcf
|
@ -1127,8 +1127,7 @@ void Statistics::sendGCTelemetry() {
|
|||
TimeDuration parallelMarkTime =
|
||||
sumTotalParallelTime(PhaseKind::PARALLEL_MARK_MARK);
|
||||
TimeDuration parallelRunTime =
|
||||
parallelMarkTime + sumTotalParallelTime(PhaseKind::PARALLEL_MARK_WAIT) +
|
||||
sumTotalParallelTime(PhaseKind::PARALLEL_MARK_OTHER);
|
||||
parallelMarkTime + sumTotalParallelTime(PhaseKind::PARALLEL_MARK_OTHER);
|
||||
if (wallTime && parallelMarkTime) {
|
||||
uint32_t threadCount = gc->markers.length();
|
||||
double speedup = parallelMarkTime / wallTime;
|
||||
|
|
Загрузка…
Ссылка в новой задаче