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

Unified Diff: base/debug/profiler.h

Issue 6877053: Base: More adjustments to BASE_API and project dependencies to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/bzip2_error_handler.cc ('k') | base/files/file_path_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/profiler.h
===================================================================
--- base/debug/profiler.h (revision 82052)
+++ base/debug/profiler.h (working copy)
@@ -8,6 +8,8 @@
#include <string>
+#include "base/base_api.h"
+
// The Profiler functions allow usage of the underlying sampling based
// profiler. If the application has not been built with the necessary
// flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions
@@ -18,16 +20,16 @@
// Start profiling with the supplied name.
// {pid} will be replaced by the process' pid and {count} will be replaced
// by the count of the profile run (starts at 1 with each process).
-void StartProfiling(const std::string& name);
+BASE_API void StartProfiling(const std::string& name);
// Stop profiling and write out data.
-void StopProfiling();
+BASE_API void StopProfiling();
// Force data to be written to file.
-void FlushProfiling();
+BASE_API void FlushProfiling();
// Returns true if process is being profiled.
-bool BeingProfiled();
+BASE_API bool BeingProfiled();
} // namespace debug
} // namespace base
« no previous file with comments | « base/bzip2_error_handler.cc ('k') | base/files/file_path_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698