| 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 #ifndef BASE_DEBUG_PROFILER_H | 5 #ifndef BASE_DEBUG_PROFILER_H |
| 6 #define BASE_DEBUG_PROFILER_H | 6 #define BASE_DEBUG_PROFILER_H |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 | 12 |
| 14 // The Profiler functions allow usage of the underlying sampling based | 13 // The Profiler functions allow usage of the underlying sampling based |
| 15 // profiler. If the application has not been built with the necessary | 14 // profiler. If the application has not been built with the necessary |
| 16 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions | 15 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions |
| 17 // are noops. | 16 // are noops. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // If this binary is instrumented and the instrumentation supplies a return | 58 // If this binary is instrumented and the instrumentation supplies a return |
| 60 // address resolution function, finds and returns the address resolution | 59 // address resolution function, finds and returns the address resolution |
| 61 // function. Otherwise returns NULL. | 60 // function. Otherwise returns NULL. |
| 62 BASE_EXPORT ReturnAddressLocationResolver | 61 BASE_EXPORT ReturnAddressLocationResolver |
| 63 GetProfilerReturnAddrResolutionFunc(); | 62 GetProfilerReturnAddrResolutionFunc(); |
| 64 | 63 |
| 65 } // namespace debug | 64 } // namespace debug |
| 66 } // namespace base | 65 } // namespace base |
| 67 | 66 |
| 68 #endif // BASE_DEBUG_DEBUGGER_H | 67 #endif // BASE_DEBUG_DEBUGGER_H |
| OLD | NEW |