OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/profiler.h" | 5 #include "base/debug/profiler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "base/stringprintf.h" |
11 | 12 |
12 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC) | 13 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC) |
13 #include "third_party/tcmalloc/chromium/src/google/profiler.h" | 14 #include "third_party/tcmalloc/chromium/src/google/profiler.h" |
14 #endif | 15 #endif |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 namespace debug { | 18 namespace debug { |
18 | 19 |
19 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC) | 20 #if defined(ENABLE_PROFILING) && !defined(NO_TCMALLOC) |
20 | 21 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 } | 56 } |
56 | 57 |
57 bool BeingProfiled() { | 58 bool BeingProfiled() { |
58 return false; | 59 return false; |
59 } | 60 } |
60 | 61 |
61 #endif | 62 #endif |
62 | 63 |
63 } // namespace debug | 64 } // namespace debug |
64 } // namespace base | 65 } // namespace base |
65 | |
OLD | NEW |