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

Side by Side Diff: runtime/vm/compiler_stats.h

Issue 1420103006: Shared token objects (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: catch up Created 5 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 | « no previous file | runtime/vm/compiler_stats.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 (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_COMPILER_STATS_H_ 5 #ifndef VM_COMPILER_STATS_H_
6 #define VM_COMPILER_STATS_H_ 6 #define VM_COMPILER_STATS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/flags.h" 9 #include "vm/flags.h"
10 #include "vm/isolate.h" 10 #include "vm/isolate.h"
(...skipping 23 matching lines...) Expand all
34 Timer graphinliner_build_timer; // Included in codegen_timer. 34 Timer graphinliner_build_timer; // Included in codegen_timer.
35 Timer graphinliner_ssa_timer; // Included in codegen_timer. 35 Timer graphinliner_ssa_timer; // Included in codegen_timer.
36 Timer graphinliner_opt_timer; // Included in codegen_timer. 36 Timer graphinliner_opt_timer; // Included in codegen_timer.
37 Timer graphinliner_subst_timer; // Included in codegen_timer. 37 Timer graphinliner_subst_timer; // Included in codegen_timer.
38 38
39 Timer graphoptimizer_timer; // Included in codegen_timer. 39 Timer graphoptimizer_timer; // Included in codegen_timer.
40 Timer graphcompiler_timer; // Included in codegen_timer. 40 Timer graphcompiler_timer; // Included in codegen_timer.
41 Timer codefinalizer_timer; // Included in codegen_timer. 41 Timer codefinalizer_timer; // Included in codegen_timer.
42 42
43 int64_t num_tokens_total; // Isolate + VM isolate 43 int64_t num_tokens_total; // Isolate + VM isolate
44 int64_t num_literal_tokens_total;
45 int64_t num_ident_tokens_total;
46 int64_t num_tokens_scanned; 44 int64_t num_tokens_scanned;
47 int64_t num_tokens_consumed; 45 int64_t num_tokens_consumed;
48 int64_t num_cached_consts; 46 int64_t num_cached_consts;
49 int64_t num_const_cache_hits; 47 int64_t num_const_cache_hits;
50 48
51 int64_t num_classes_parsed; 49 int64_t num_classes_parsed;
52 int64_t num_class_tokens; 50 int64_t num_class_tokens;
53 int64_t num_functions_parsed; // Num parsed functions. 51 int64_t num_functions_parsed; // Num parsed functions.
54 int64_t num_functions_compiled; // Num unoptimized compilations. 52 int64_t num_functions_compiled; // Num unoptimized compilations.
55 int64_t num_functions_optimized; // Num optimized compilations. 53 int64_t num_functions_optimized; // Num optimized compilations.
(...skipping 28 matching lines...) Expand all
84 (thread)->isolate()->compiler_stats()->counter : 0) 82 (thread)->isolate()->compiler_stats()->counter : 0)
85 83
86 #define CSTAT_TIMER_SCOPE(thr, t) \ 84 #define CSTAT_TIMER_SCOPE(thr, t) \
87 TimerScope timer(FLAG_compiler_stats, \ 85 TimerScope timer(FLAG_compiler_stats, \
88 FLAG_compiler_stats ? &((thr)->isolate()->compiler_stats()->t) : NULL, \ 86 FLAG_compiler_stats ? &((thr)->isolate()->compiler_stats()->t) : NULL, \
89 thr); 87 thr);
90 88
91 } // namespace dart 89 } // namespace dart
92 90
93 #endif // VM_COMPILER_STATS_H_ 91 #endif // VM_COMPILER_STATS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/compiler_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698