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

Unified Diff: src/log.h

Issue 1708573003: [WIP]Create a V8 sampler library and tracing controller. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | « src/isolate.cc ('k') | src/log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index 1a454dad264c176afff79a193bdf614eb7f52a8b..139ac5bce74eaeb997e049974165b05284965d5a 100644
--- a/src/log.h
+++ b/src/log.h
@@ -14,6 +14,8 @@
namespace v8 {
+class V8Sampler;
+
namespace base {
class Semaphore;
}
@@ -146,7 +148,7 @@ struct TickSample;
class JitLogger;
class PerfBasicLogger;
class LowLevelLogger;
-class Sampler;
+// class Sampler;
class Logger {
public:
@@ -166,7 +168,8 @@ class Logger {
void SetCodeEventHandler(uint32_t options,
JitCodeEventHandler event_handler);
- Sampler* sampler();
+ //Sampler* sampler();
+ V8Sampler* sampler();
// Frees resources acquired in SetUp.
// When a temporary file is used for the log, returns its stream descriptor,
« no previous file with comments | « src/isolate.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698