diff options
Diffstat (limited to 'deps/v8/src/heap/collection-barrier.cc')
-rw-r--r-- | deps/v8/src/heap/collection-barrier.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/deps/v8/src/heap/collection-barrier.cc b/deps/v8/src/heap/collection-barrier.cc index 51f04bb94d..a111e17e05 100644 --- a/deps/v8/src/heap/collection-barrier.cc +++ b/deps/v8/src/heap/collection-barrier.cc @@ -70,9 +70,13 @@ void CollectionBarrier::StopTimeToCollectionTimer() { DCHECK(timer_.IsStarted()); base::TimeDelta delta = timer_.Elapsed(); TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("v8.gc"), - "V8.TimeToCollection", TRACE_EVENT_SCOPE_THREAD, - "duration", delta.InMillisecondsF()); - heap_->isolate()->counters()->time_to_collection()->AddTimedSample(delta); + "V8.GC.TimeToCollectionOnBackground", + TRACE_EVENT_SCOPE_THREAD, "duration", + delta.InMillisecondsF()); + heap_->isolate() + ->counters() + ->gc_time_to_collection_on_background() + ->AddTimedSample(delta); timer_.Stop(); } else { DCHECK_EQ(old_state, RequestState::kDefault); |