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

Unified Diff: src/isolate.h

Issue 2187693002: [Tracing] Embed V8 runtime call stats into tracing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 2753373e29b0e7372889eebc3892dae5e5a27648..c813d7e2ab7198c18ee0dc27d9e9b04ee77bb039 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -30,6 +30,7 @@
#include "src/regexp/regexp-stack.h"
#include "src/runtime-profiler.h"
#include "src/runtime/runtime.h"
+#include "src/tracing/trace-event.h"
#include "src/zone.h"
namespace v8 {
@@ -828,6 +829,9 @@ class Isolate {
DCHECK(counters_ != NULL);
return counters_;
}
+ tracing::TraceEventStatsTable* trace_event_stats_table() {
+ return &trace_event_stats_table_;
+ }
RuntimeProfiler* runtime_profiler() { return runtime_profiler_; }
CompilationCache* compilation_cache() { return compilation_cache_; }
Logger* logger() {
@@ -1279,6 +1283,7 @@ class Isolate {
RuntimeProfiler* runtime_profiler_;
CompilationCache* compilation_cache_;
Counters* counters_;
+ tracing::TraceEventStatsTable trace_event_stats_table_;
base::RecursiveMutex break_access_;
Logger* logger_;
StackGuard stack_guard_;

Powered by Google App Engine
This is Rietveld 408576698