Chromium Code Reviews| Index: remoting/client/jni/chromoting_jni_instance.cc |
| diff --git a/remoting/client/jni/chromoting_jni_instance.cc b/remoting/client/jni/chromoting_jni_instance.cc |
| index 7d8b7f8a4f5b940e22ebe21fc6f5a886b9c312a9..ca6cfc5f3a7f93ce4bb204b18f9b49a435058718 100644 |
| --- a/remoting/client/jni/chromoting_jni_instance.cc |
| +++ b/remoting/client/jni/chromoting_jni_instance.cc |
| @@ -484,12 +484,21 @@ void ChromotingJniInstance::LogPerfStats() { |
| __android_log_print( |
| ANDROID_LOG_INFO, "stats", |
| - "Bandwidth:%.0f FrameRate:%.1f Capture:%.1f Encode:%.1f " |
| - "Decode:%.1f Render:%.1f Latency:%.0f", |
| + "Bandwidth:%.0f FrameRate:%.1f; " |
| + "(Avg, Max) Capture:%.1f, %lld Encode:%.1f, %lld Decode:%.1f, %lld " |
| + "Render:%.1f, %lld RTL:%.0f, %lld", |
| perf_tracker_->video_bandwidth(), perf_tracker_->video_frame_rate(), |
| - perf_tracker_->video_capture_ms(), perf_tracker_->video_encode_ms(), |
| - perf_tracker_->video_decode_ms(), perf_tracker_->video_paint_ms(), |
| - perf_tracker_->round_trip_ms()); |
| + perf_tracker_->video_capture_ms().Average(), |
| + perf_tracker_->video_capture_ms().Max(), |
| + perf_tracker_->video_encode_ms().Average(), |
| + perf_tracker_->video_encode_ms().Max(), |
| + perf_tracker_->video_decode_ms().Average(), |
| + perf_tracker_->video_decode_ms().Max(), |
| + perf_tracker_->video_paint_ms().Average(), |
| + perf_tracker_->video_paint_ms().Max(), |
| + perf_tracker_->round_trip_ms().Average(), |
| + perf_tracker_->round_trip_ms().Max() |
| + ); |
|
Sergey Ulanov
2016/03/22 00:08:03
nit: move this to the previous line, or run clang-
|
| client_status_logger_->LogStatistics(perf_tracker_.get()); |