Print some output in long perf tests, to keep them alive

At least Android try bots seem to have a timeout that will forcibly shut
down the executable if no output has been observed for 60s. Since full
stack test typically run for 60s we need to output give some to avoid
racy shutdown.

BUG=chromium:513170
R=pbos@webrtc.org

Review URL: https://codereview.webrtc.org/1288453003 .

Cr-Commit-Position: refs/heads/master@{#9822}
diff --git a/webrtc/video/full_stack.cc b/webrtc/video/full_stack.cc
index aac11ac..1e47d05 100644
--- a/webrtc/video/full_stack.cc
+++ b/webrtc/video/full_stack.cc
@@ -222,6 +222,7 @@
 
     int last_frames_processed = -1;
     EventTypeWrapper eventType;
+    int iteration = 0;
     while ((eventType = done_->Wait(FullStackTest::kDefaultTimeoutMs)) !=
            kEventSignaled) {
       int frames_processed;
@@ -229,6 +230,14 @@
         rtc::CritScope crit(&comparison_lock_);
         frames_processed = frames_processed_;
       }
+
+      // Print some output so test infrastructure won't think we've crashed.
+      const char* kKeepAliveMessages[3] = {
+          "Uh, I'm-I'm not quite dead, sir.",
+          "Uh, I-I think uh, I could pull through, sir.",
+          "Actually, I think I'm all right to come with you--"};
+      printf("- %s\n", kKeepAliveMessages[iteration++ % 3]);
+
       if (last_frames_processed == -1) {
         last_frames_processed = frames_processed;
         continue;
@@ -238,6 +247,9 @@
       last_frames_processed = frames_processed;
     }
 
+    if (iteration > 0)
+      printf("- Farewell, sweet Concorde!\n");
+
     // Signal stats polling thread if that is still waiting and stop it now,
     // since it uses the send_stream_ reference that might be reclaimed after
     // returning from this method.