Index: webrtc/video/full_stack_plot.py |
diff --git a/webrtc/video/full_stack_plot.py b/webrtc/video/full_stack_plot.py |
index 0e8990157f059b38150ce222063426389a3f4e74..4e09b4192a997ae8d46841b8d861c12294d89881 100755 |
--- a/webrtc/video/full_stack_plot.py |
+++ b/webrtc/video/full_stack_plot.py |
@@ -34,15 +34,16 @@ import numpy |
# Fields |
DROPPED = 0 |
-INPUT_TIME = 1 # ms |
-SEND_TIME = 2 # ms |
-RECV_TIME = 3 # ms |
-ENCODED_FRAME_SIZE = 4 # bytes |
-PSNR = 5 |
-SSIM = 6 |
-RENDER_TIME = 7 # ms |
+INPUT_TIME = 1 # ms (timestamp) |
+SEND_TIME = 2 # ms (timestamp) |
+RECV_TIME = 3 # ms (timestamp) |
+RENDER_TIME = 4 # ms (timestamp) |
+ENCODED_FRAME_SIZE = 5 # bytes |
+PSNR = 6 |
+SSIM = 7 |
+ENCODE_TIME = 8 # ms (time interval) |
-TOTAL_RAW_FIELDS = 8 |
+TOTAL_RAW_FIELDS = 9 |
SENDER_TIME = TOTAL_RAW_FIELDS + 0 |
RECEIVER_TIME = TOTAL_RAW_FIELDS + 1 |
@@ -66,6 +67,7 @@ _fields = [ |
(PSNR, "psnr", "PSNR"), |
(SSIM, "ssim", "SSIM"), |
(RENDER_TIME, "render_time_ms", "render time"), |
+ (ENCODE_TIME, "encode_time_ms", "encode time"), |
# Auto-generated |
(SENDER_TIME, "sender_time", "sender time"), |
(RECEIVER_TIME, "receiver_time", "receiver time"), |