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

Side by Side Diff: src/isolate.cc

Issue 2053383002: Machine-readable TurboFan compiler statistics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« src/compilation-statistics.cc ('K') | « src/flag-definitions.h ('k') | no next file » | 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 #include "src/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 2463 matching lines...) Expand 10 before | Expand all | Expand 10 after
2474 2474
2475 2475
2476 HStatistics* Isolate::GetHStatistics() { 2476 HStatistics* Isolate::GetHStatistics() {
2477 if (hstatistics() == NULL) set_hstatistics(new HStatistics()); 2477 if (hstatistics() == NULL) set_hstatistics(new HStatistics());
2478 return hstatistics(); 2478 return hstatistics();
2479 } 2479 }
2480 2480
2481 2481
2482 CompilationStatistics* Isolate::GetTurboStatistics() { 2482 CompilationStatistics* Isolate::GetTurboStatistics() {
2483 if (turbo_statistics() == NULL) 2483 if (turbo_statistics() == NULL)
2484 set_turbo_statistics(new CompilationStatistics()); 2484 set_turbo_statistics(new CompilationStatistics(FLAG_turbo_stats_nvp));
2485 return turbo_statistics(); 2485 return turbo_statistics();
2486 } 2486 }
2487 2487
2488 2488
2489 HTracer* Isolate::GetHTracer() { 2489 HTracer* Isolate::GetHTracer() {
2490 if (htracer() == NULL) set_htracer(new HTracer(id())); 2490 if (htracer() == NULL) set_htracer(new HTracer(id()));
2491 return htracer(); 2491 return htracer();
2492 } 2492 }
2493 2493
2494 2494
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
3054 // Then check whether this scope intercepts. 3054 // Then check whether this scope intercepts.
3055 if ((flag & intercept_mask_)) { 3055 if ((flag & intercept_mask_)) {
3056 intercepted_flags_ |= flag; 3056 intercepted_flags_ |= flag;
3057 return true; 3057 return true;
3058 } 3058 }
3059 return false; 3059 return false;
3060 } 3060 }
3061 3061
3062 } // namespace internal 3062 } // namespace internal
3063 } // namespace v8 3063 } // namespace v8
OLDNEW
« src/compilation-statistics.cc ('K') | « src/flag-definitions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698