Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.tools/src/com/oracle/truffle/tools/CoverageTracker.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 0f0e34039769 |
children | 1c0f490984d5 |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
22 * or visit www.oracle.com if you need additional information or have any | 22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.tools; | 25 package com.oracle.truffle.tools; |
26 | 26 |
27 import java.io.*; | 27 import com.oracle.truffle.api.instrument.Instrument; |
28 import java.util.*; | 28 import com.oracle.truffle.api.instrument.InstrumentationTool; |
29 import com.oracle.truffle.api.instrument.Probe; | |
30 import com.oracle.truffle.api.instrument.ProbeListener; | |
31 import com.oracle.truffle.api.instrument.SimpleInstrumentListener; | |
32 import com.oracle.truffle.api.instrument.StandardSyntaxTag; | |
33 import com.oracle.truffle.api.instrument.SyntaxTag; | |
34 import com.oracle.truffle.api.instrument.impl.DefaultProbeListener; | |
35 import com.oracle.truffle.api.instrument.impl.DefaultSimpleInstrumentListener; | |
36 import com.oracle.truffle.api.nodes.Node; | |
37 import com.oracle.truffle.api.source.LineLocation; | |
38 import com.oracle.truffle.api.source.Source; | |
39 import com.oracle.truffle.api.source.SourceSection; | |
40 import java.io.PrintStream; | |
41 import java.util.ArrayList; | |
42 import java.util.Comparator; | |
43 import java.util.HashMap; | |
44 import java.util.List; | |
45 import java.util.Map; | |
29 import java.util.Map.Entry; | 46 import java.util.Map.Entry; |
30 | 47 import java.util.TreeSet; |
31 import com.oracle.truffle.api.instrument.*; | |
32 import com.oracle.truffle.api.instrument.impl.*; | |
33 import com.oracle.truffle.api.nodes.*; | |
34 import com.oracle.truffle.api.source.*; | |
35 | 48 |
36 /** | 49 /** |
37 * An {@link InstrumentationTool} that counts interpreter <em>execution calls</em> to AST nodes that | 50 * An {@link InstrumentationTool} that counts interpreter <em>execution calls</em> to AST nodes that |
38 * hold a specified {@linkplain SyntaxTag syntax tag}, tabulated by source and line number | 51 * hold a specified {@linkplain SyntaxTag syntax tag}, tabulated by source and line number |
39 * associated with each node. Syntax tags are presumed to be applied external to the tool. If no tag | 52 * associated with each node. Syntax tags are presumed to be applied external to the tool. If no tag |