Index: base/debug/trace_event_impl.h |
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h |
index c0eead0b577a753a2fe3d02e2e4f1712d0691e7b..32cac0e190bdc78cb57f2d31f7baeb01b6aa71d9 100644 |
--- a/base/debug/trace_event_impl.h |
+++ b/base/debug/trace_event_impl.h |
@@ -278,7 +278,10 @@ class BASE_EXPORT TraceLog { |
RECORD_CONTINUOUSLY = 1 << 1, |
// Enable the sampling profiler. |
- ENABLE_SAMPLING = 1 << 2 |
+ ENABLE_SAMPLING = 1 << 2, |
+ |
+ // Echo to stderr. |
+ ECHO_TO_STDERR = 1 << 3 |
}; |
static TraceLog* GetInstance(); |
@@ -515,6 +518,8 @@ class BASE_EXPORT TraceLog { |
ObserverList<EnabledStateChangedObserver> enabled_state_observer_list_; |
base::hash_map<int, std::string> thread_names_; |
+ base::hash_map<int, std::vector<TimeTicks> > thread_event_start_times_; |
danakj
2013/04/24 20:10:12
I think you're looking for std::stack for this ins
Ian Vollick
2013/04/24 22:57:11
Done.
|
+ base::hash_map<std::string, int> thread_colors_; |
// XORed with TraceID to make it unlikely to collide with other processes. |
unsigned long long process_id_hash_; |