FlatViewMetricPropagationFilter.java
Go to the documentation of this file.00001 package edu.rice.cs.hpc.data.experiment.scope.filters;
00002
00003 import edu.rice.cs.hpc.data.experiment.scope.CallSiteScope;
00004 import edu.rice.cs.hpc.data.experiment.scope.LoopScope;
00005 import edu.rice.cs.hpc.data.experiment.scope.ProcedureScope;
00006 import edu.rice.cs.hpc.data.experiment.scope.Scope;
00007
00008
00009
00010
00011
00012 public class FlatViewMetricPropagationFilter implements MetricValuePropagationFilter {
00013 public boolean doPropagation(Scope source, Scope target, int src_idx, int targ_idx) {
00014 if (source instanceof LoopScope) return false;
00015 if (source instanceof ProcedureScope) return false;
00016 if (source instanceof CallSiteScope) return false;
00017 return true;
00018 }
00019 }