Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: base/debug/profiler.h

Issue 1549043002: Switch to standard integer types in base/debug/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/debug/proc_maps_linux_unittest.cc ('k') | base/debug/profiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/base_export.h" 12 #include "base/base_export.h"
11 #include "base/basictypes.h"
12 13
13 // The Profiler functions allow usage of the underlying sampling based 14 // The Profiler functions allow usage of the underlying sampling based
14 // profiler. If the application has not been built with the necessary 15 // profiler. If the application has not been built with the necessary
15 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions 16 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions
16 // are noops. 17 // are noops.
17 namespace base { 18 namespace base {
18 namespace debug { 19 namespace debug {
19 20
20 // Start profiling with the supplied name. 21 // Start profiling with the supplied name.
21 // {pid} will be replaced by the process' pid and {count} will be replaced 22 // {pid} will be replaced by the process' pid and {count} will be replaced
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Otherwise returns NULL. 82 // Otherwise returns NULL.
82 BASE_EXPORT ReturnAddressLocationResolver GetProfilerReturnAddrResolutionFunc(); 83 BASE_EXPORT ReturnAddressLocationResolver GetProfilerReturnAddrResolutionFunc();
83 BASE_EXPORT DynamicFunctionEntryHook GetProfilerDynamicFunctionEntryHookFunc(); 84 BASE_EXPORT DynamicFunctionEntryHook GetProfilerDynamicFunctionEntryHookFunc();
84 BASE_EXPORT AddDynamicSymbol GetProfilerAddDynamicSymbolFunc(); 85 BASE_EXPORT AddDynamicSymbol GetProfilerAddDynamicSymbolFunc();
85 BASE_EXPORT MoveDynamicSymbol GetProfilerMoveDynamicSymbolFunc(); 86 BASE_EXPORT MoveDynamicSymbol GetProfilerMoveDynamicSymbolFunc();
86 87
87 } // namespace debug 88 } // namespace debug
88 } // namespace base 89 } // namespace base
89 90
90 #endif // BASE_DEBUG_PROFILER_H_ 91 #endif // BASE_DEBUG_PROFILER_H_
OLDNEW
« no previous file with comments | « base/debug/proc_maps_linux_unittest.cc ('k') | base/debug/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698