2 import Analysis.Prefetch.*;
5 public class FlatPrefetchNode extends FlatNode {
6 HashSet<PrefetchPair> hspp;
8 public FlatPrefetchNode() {
9 hspp = new HashSet<PrefetchPair>();
12 public String toString() {
13 String st="prefetch(";
15 for(Iterator<PrefetchPair> it=hspp.iterator();it.hasNext();) {
16 PrefetchPair pp=it.next();
26 return FKind.FlatPrefetchNode;
29 public void insPrefetchPair(PrefetchPair pp) {
33 public void insAllpp(HashSet<PrefetchPair> hspp) {
34 this.hspp.addAll(hspp);
37 public HashSet<PrefetchPair> getPrefetchPairs() {
41 public int getNumPairs() {