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

Unified Diff: src/cpu-profiler.h

Issue 422593003: Initial GetSample implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed the comments. Created 6 years, 4 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/cpu-profiler.h
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h
index d666255b0af56539daa4e3c374cd255308a4ebe4..8ebc20cb3a2e22bcf59644bd0ba08ab81bf0fd3c 100644
--- a/src/cpu-profiler.h
+++ b/src/cpu-profiler.h
@@ -145,6 +145,8 @@ class ProfilerEventsProcessor : public base::Thread {
inline TickSample* StartTickSample();
inline void FinishTickSample();
+ Sampler* sampler() const { return sampler_; }
+
// SamplingCircularQueue has stricter alignment requirements than a normal new
// can fulfil, so we need to provide our own new/delete here.
void* operator new(size_t size);

Powered by Google App Engine
This is Rietveld 408576698