Add encoding profiling to aos logger

The diagnostic data logger compression uses a significant amount
of CPU. To help profile the system, this change will record the
encode time for each message.

When profiling is enabled (through constructor argument) the encode
times will be collected in a log along with the event loop
monotonic clock time stamps.

Add a python script to create a graph of the encode_times from
the logger.

Change-Id: If1cc19fbffe0ff31f63e5789f610c4ca40a9d47a
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/tools/python/requirements.txt b/tools/python/requirements.txt
index e758cf5..ddbaef3 100644
--- a/tools/python/requirements.txt
+++ b/tools/python/requirements.txt
@@ -19,3 +19,6 @@
 # TODO(phil): Migrate to absl-py. These are abandoned as far as I can tell.
 python-gflags
 glog
+
+bokeh
+tabulate