Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/C1XMetrics.java @ 2547:b6cd17226aad
Clean up C1XMetrics.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 21:56:38 +0200 |
parents | 0f9eeb15e636 |
children | 4f64bd98f9dc |
comparison
equal
deleted
inserted
replaced
2546:e1b3db8031ee | 2547:b6cd17226aad |
---|---|
29 | 29 |
30 | 30 |
31 /** | 31 /** |
32 * This class contains a number of fields that collect metrics about compilation, particularly | 32 * This class contains a number of fields that collect metrics about compilation, particularly |
33 * the number of times certain optimizations are performed. | 33 * the number of times certain optimizations are performed. |
34 * | |
35 * @author Ben L. Titzer | |
36 */ | 34 */ |
37 public class C1XMetrics { | 35 public class C1XMetrics { |
38 public static int CompiledMethods; | 36 public static int CompiledMethods; |
39 public static int TargetMethods; | 37 public static int TargetMethods; |
40 public static int LocalValueNumberHits; | 38 public static int LocalValueNumberHits; |
41 public static int GlobalValueNumberHits; | |
42 public static int ValueMapResizes; | 39 public static int ValueMapResizes; |
43 public static int InlinedFinalizerChecks; | 40 public static int InlinedFinalizerChecks; |
44 public static int MethodsFolded; | |
45 public static int InlineForcedMethods; | 41 public static int InlineForcedMethods; |
46 public static int InlineForbiddenMethods; | 42 public static int InlineForbiddenMethods; |
47 public static int InlinedJsrs; | 43 public static int InlinedJsrs; |
48 public static int NullCheckIterations; | |
49 public static int NullCheckEliminations; | |
50 public static int NullChecksRedundant; | |
51 public static int NullCheckIdsAssigned; | |
52 public static int ZeroChecksRedundant; | |
53 public static int DivideSpecialChecksRedundant; | |
54 public static int BoundsChecksElminations; | |
55 public static int ConditionalEliminations; | |
56 public static int BlocksMerged; | |
57 public static int BlocksSkipped; | |
58 public static int BlocksDeleted; | 44 public static int BlocksDeleted; |
59 public static int DeadCodeEliminated; | |
60 public static int ResolveCPEAttempts; | |
61 public static int BytecodesCompiled; | 45 public static int BytecodesCompiled; |
62 public static int CodeBytesEmitted; | 46 public static int CodeBytesEmitted; |
63 public static int SafepointsEmitted; | 47 public static int SafepointsEmitted; |
64 public static int ExceptionHandlersEmitted; | 48 public static int ExceptionHandlersEmitted; |
65 public static int DataPatches; | 49 public static int DataPatches; |
74 public static int LSRAIntervalsCreated; | 58 public static int LSRAIntervalsCreated; |
75 public static int LSRASpills; | 59 public static int LSRASpills; |
76 public static int LoadConstantIterations; | 60 public static int LoadConstantIterations; |
77 public static int CodeBufferCopies; | 61 public static int CodeBufferCopies; |
78 public static int UniqueValueIdsAssigned; | 62 public static int UniqueValueIdsAssigned; |
79 public static int RedundantConditionals; | |
80 public static int FrameStatesCreated; | 63 public static int FrameStatesCreated; |
81 public static int FrameStateValuesCreated; | 64 public static int FrameStateValuesCreated; |
82 | 65 |
83 public static void print() { | 66 public static void print() { |
84 printClassFields(C1XMetrics.class); | 67 printClassFields(C1XMetrics.class); |