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

Side by Side Diff: src/isolate.h

Issue 753483002: dump compiler stats from d8 on direct exit from js (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/d8.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 return optimizing_compiler_thread_; 1057 return optimizing_compiler_thread_;
1058 } 1058 }
1059 1059
1060 int id() const { return static_cast<int>(id_); } 1060 int id() const { return static_cast<int>(id_); }
1061 1061
1062 HStatistics* GetHStatistics(); 1062 HStatistics* GetHStatistics();
1063 CompilationStatistics* GetTurboStatistics(); 1063 CompilationStatistics* GetTurboStatistics();
1064 HTracer* GetHTracer(); 1064 HTracer* GetHTracer();
1065 CodeTracer* GetCodeTracer(); 1065 CodeTracer* GetCodeTracer();
1066 1066
1067 void DumpAndResetCompilationStats();
1068
1067 FunctionEntryHook function_entry_hook() { return function_entry_hook_; } 1069 FunctionEntryHook function_entry_hook() { return function_entry_hook_; }
1068 void set_function_entry_hook(FunctionEntryHook function_entry_hook) { 1070 void set_function_entry_hook(FunctionEntryHook function_entry_hook) {
1069 function_entry_hook_ = function_entry_hook; 1071 function_entry_hook_ = function_entry_hook;
1070 } 1072 }
1071 1073
1072 void* stress_deopt_count_address() { return &stress_deopt_count_; } 1074 void* stress_deopt_count_address() { return &stress_deopt_count_; }
1073 1075
1074 inline base::RandomNumberGenerator* random_number_generator(); 1076 inline base::RandomNumberGenerator* random_number_generator();
1075 1077
1076 // Given an address occupied by a live code object, return that object. 1078 // Given an address occupied by a live code object, return that object.
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1545 } 1547 }
1546 1548
1547 EmbeddedVector<char, 128> filename_; 1549 EmbeddedVector<char, 128> filename_;
1548 FILE* file_; 1550 FILE* file_;
1549 int scope_depth_; 1551 int scope_depth_;
1550 }; 1552 };
1551 1553
1552 } } // namespace v8::internal 1554 } } // namespace v8::internal
1553 1555
1554 #endif // V8_ISOLATE_H_ 1556 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698