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

Unified Diff: src/platform-macos.cc

Issue 10857035: Moving cpu profiling into its own thread. (Closed) Base URL: http://git.chromium.org/external/v8.git@master
Patch Set: moved installing/restoring handler of SIGPROF to Sampler::Start/Stop Created 8 years, 3 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
Index: src/platform-macos.cc
diff --git a/src/platform-macos.cc b/src/platform-macos.cc
index a216f6e4cacd2561cb983550ed64d6974dbd095f..af33346e983aca332dd2163131fd363130d989b3 100644
--- a/src/platform-macos.cc
+++ b/src/platform-macos.cc
@@ -910,6 +910,11 @@ Sampler::~Sampler() {
}
+void Sampler::DoSample() {
+ // TODO: implement
Jakob Kummerow 2012/09/04 11:10:51 If you want to commit this before implementing it
+}
+
+
void Sampler::Start() {
ASSERT(!IsActive());
SetActive(true);
« src/platform-linux.cc ('K') | « src/platform-linux.cc ('k') | src/platform-openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698