Mercurial > hg > truffle
comparison graal/com.oracle.graal.debug/src/com/oracle/graal/debug/DebugHistogram.java @ 14586:d2fe05d5cc96
added support for lazy computation of names for use with Debug
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 18 Mar 2014 17:15:06 +0100 |
parents | e3888db8b8a1 |
children | cda2a7d1dcff |
comparison
equal
deleted
inserted
replaced
14585:7e9409cb656f | 14586:d2fe05d5cc96 |
---|---|
70 | 70 |
71 public void inc() { | 71 public void inc() { |
72 count++; | 72 count++; |
73 } | 73 } |
74 | 74 |
75 public void add(int n) { | |
76 count += n; | |
77 } | |
78 | |
75 public int getCount() { | 79 public int getCount() { |
76 return count; | 80 return count; |
77 } | 81 } |
78 | 82 |
79 public Object getValue() { | 83 public Object getValue() { |