Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: src/heap/heap.cc

Issue 771123002: Fix idle time trace printing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 389edcd961c9f8ada4dbe7bbc468ae68285daccd..8986087486995ac660de31f0d164b0a03ebc37f4 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -4541,7 +4541,8 @@ bool Heap::IdleNotification(double deadline_in_seconds) {
PrintF(
"Idle notification: requested idle time %.2f ms, used idle time %.2f "
"ms, deadline usage %.2f ms [",
- idle_time_in_ms, current_time, deadline_difference);
+ idle_time_in_ms, idle_time_in_ms - deadline_difference,
+ deadline_difference);
action.Print();
PrintF("]");
if (FLAG_trace_idle_notification_verbose) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698