Using histograms for timing statistics.

  Histogram class and test cases added.
  Modified make file to add test cases and class file.
  Added a guard to avoid race condition in Cumulative logger that
  was possible race between Addlogger and Dump() functions.

Change-Id: I060a0d65648c7120963856624e7008c0aa681eb7
diff --git a/src/dex2oat.cc b/src/dex2oat.cc
index bc38bdc..d0bd2fc 100644
--- a/src/dex2oat.cc
+++ b/src/dex2oat.cc
@@ -25,6 +25,7 @@
 
 #include "base/stl_util.h"
 #include "base/stringpiece.h"
+#include "base/timing_logger.h"
 #include "base/unix_file/fd_file.h"
 #include "class_linker.h"
 #include "compiler.h"
@@ -42,7 +43,6 @@
 #include "ScopedLocalRef.h"
 #include "scoped_thread_state_change.h"
 #include "sirt_ref.h"
-#include "timing_logger.h"
 #include "vector_output_stream.h"
 #include "well_known_classes.h"
 #include "zip_archive.h"