OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/debug/trace_event_impl.h" | 5 #include "base/debug/trace_event_impl.h" |
Primiano Tucci (use gerrit)
2015/01/22 19:23:05
Ditto
| |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/debug/leak_annotations.h" | 12 #include "base/debug/leak_annotations.h" |
13 #include "base/debug/trace_event.h" | 13 #include "base/debug/trace_event.h" |
14 #include "base/debug/trace_event_synthetic_delay.h" | 14 #include "base/debug/trace_event_synthetic_delay.h" |
15 #include "base/float_util.h" | 15 #include "base/float_util.h" |
(...skipping 2569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2585 } | 2585 } |
2586 | 2586 |
2587 ScopedTraceBinaryEfficient::~ScopedTraceBinaryEfficient() { | 2587 ScopedTraceBinaryEfficient::~ScopedTraceBinaryEfficient() { |
2588 if (*category_group_enabled_) { | 2588 if (*category_group_enabled_) { |
2589 TRACE_EVENT_API_UPDATE_TRACE_EVENT_DURATION(category_group_enabled_, | 2589 TRACE_EVENT_API_UPDATE_TRACE_EVENT_DURATION(category_group_enabled_, |
2590 name_, event_handle_); | 2590 name_, event_handle_); |
2591 } | 2591 } |
2592 } | 2592 } |
2593 | 2593 |
2594 } // namespace trace_event_internal | 2594 } // namespace trace_event_internal |
OLD | NEW |