1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
70 static elapsedTimer _t_stubCompilation; |
70 static elapsedTimer _t_stubCompilation; |
71 #endif |
71 #endif |
72 |
72 |
73 // The next timers used for LogCompilation |
73 // The next timers used for LogCompilation |
74 static elapsedTimer _t_parser; |
74 static elapsedTimer _t_parser; |
75 static elapsedTimer _t_escapeAnalysis; |
|
76 static elapsedTimer _t_optimizer; |
75 static elapsedTimer _t_optimizer; |
|
76 public: |
|
77 // ConnectionGraph can't be Phase since it is used after EA done. |
|
78 static elapsedTimer _t_escapeAnalysis; |
|
79 static elapsedTimer _t_connectionGraph; |
|
80 protected: |
77 static elapsedTimer _t_idealLoop; |
81 static elapsedTimer _t_idealLoop; |
78 static elapsedTimer _t_ccp; |
82 static elapsedTimer _t_ccp; |
79 static elapsedTimer _t_matcher; |
83 static elapsedTimer _t_matcher; |
80 static elapsedTimer _t_registerAllocation; |
84 static elapsedTimer _t_registerAllocation; |
81 static elapsedTimer _t_output; |
85 static elapsedTimer _t_output; |
82 |
86 |
83 #ifndef PRODUCT |
87 #ifndef PRODUCT |
84 static elapsedTimer _t_graphReshaping; |
88 static elapsedTimer _t_graphReshaping; |
85 static elapsedTimer _t_scheduler; |
89 static elapsedTimer _t_scheduler; |
86 static elapsedTimer _t_blockOrdering; |
90 static elapsedTimer _t_blockOrdering; |
|
91 static elapsedTimer _t_macroEliminate; |
87 static elapsedTimer _t_macroExpand; |
92 static elapsedTimer _t_macroExpand; |
88 static elapsedTimer _t_peephole; |
93 static elapsedTimer _t_peephole; |
89 static elapsedTimer _t_codeGeneration; |
94 static elapsedTimer _t_codeGeneration; |
90 static elapsedTimer _t_registerMethod; |
95 static elapsedTimer _t_registerMethod; |
91 static elapsedTimer _t_temporaryTimer1; |
96 static elapsedTimer _t_temporaryTimer1; |