Print PID and time since start when tracing idle notification events.
authorhpayer <hpayer@chromium.org>
Fri, 27 Mar 2015 07:59:34 +0000 (00:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Mar 2015 07:59:45 +0000 (07:59 +0000)
BUG=

Review URL: https://codereview.chromium.org/1039153002

Cr-Commit-Position: refs/heads/master@{#27492}

src/heap/heap.cc

index ece4c4a793601fbd69fee23be6b9a9453ecc2e93..5af21e18c0df762e7efb97e2778e6e708ad8f066 100644 (file)
@@ -4702,6 +4702,7 @@ bool Heap::IdleNotification(double deadline_in_seconds) {
 
   if ((FLAG_trace_idle_notification && action.type > DO_NOTHING) ||
       FLAG_trace_idle_notification_verbose) {
+    PrintPID("%8.0f ms: ", isolate()->time_millis_since_init());
     PrintF(
         "Idle notification: requested idle time %.2f ms, used idle time %.2f "
         "ms, deadline usage %.2f ms [",