IMergedScope.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.data.experiment.scope;
00002 
00003 import edu.rice.cs.hpc.data.experiment.scope.filters.MetricValuePropagationFilter;
00004 import edu.rice.cs.hpc.data.experiment.scope.visitors.AbstractFinalizeMetricVisitor;
00005 import edu.rice.cs.hpc.data.experiment.scope.visitors.PercentScopeVisitor;
00006 
00007 
00008 /*************
00009  * Interface for a scope class to merge with another scope
00010  * The implementer of this interface should carefully compute the children of the merged scope
00011  * 
00012  * @author laksonoadhianto
00013  *
00014  *************/
00015 public interface IMergedScope {
00016     
00017     /******
00018      * INIT: initialization phase
00019      * INCREMENTAL: one phase after initialization which incrementally create and merge scopes
00020      */
00021     static public enum MergingStatus {INIT, INCREMENTAL}
00022     
00023     /******
00024      * Return the children of the current scope which can be merged previously.
00025      * 
00026      * @param finalizeVisitor
00027      * @param percentVisitor
00028      * @param inclusiveOnly
00029      * @param exclusiveOnly
00030      * @return
00031      */
00032     public Object[] getAllChildren(AbstractFinalizeMetricVisitor finalizeVisitor,
00033             PercentScopeVisitor percentVisitor, 
00034             MetricValuePropagationFilter inclusiveOnly, 
00035             MetricValuePropagationFilter exclusiveOnly );
00036     
00037 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1