|
Do not count invocations but usage of a function, i.e., increment a function's counter at IC calls and at return operations in unoptimized code. (TODO: increment count at static calls as well). There is no checking at method entry any more. The function counter reporting is not measuring the invocation count but much more how much time we spend in a method. Removed counter at backward branches.
Renamed flags to:
--optimization_counter_threshold (default 2000)
--report_usage_count
Committed: https://code.google.com/p/dart/source/detail?r=4583
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+117 lines, -195 lines) |
Patch |
|
M |
runtime/vm/code_generator.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+24 lines, -4 lines |
0 comments
|
Download
|
|
|
runtime/vm/code_generator_arm.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator_ia32.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator_ia32.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+27 lines, -53 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator_x64.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator_x64.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+5 lines, -54 lines |
0 comments
|
Download
|
|
M |
runtime/vm/instructions_ia32_test.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/instructions_x64_test.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/opt_code_generator_ia32.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object_snapshot.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_ia32.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+20 lines, -22 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -23 lines |
0 comments
|
Download
|
|
M |
tests/corelib/src/CollectionToStringTest.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/language/src/MathVMTest.dart
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|