adaptj.toolkits.analyses.metrics
Class InstructionMixMetric

java.lang.Object
  |
  +--adaptj.toolkits.Customizable
        |
        +--adaptj.toolkits.TimedCustomizable
              |
              +--adaptj.toolkits.TimedEventBoxApplicable
                    |
                    +--adaptj.toolkits.EventOperation
                          |
                          +--adaptj.toolkits.analyses.metrics.MetricAnalysis
                                |
                                +--adaptj.toolkits.analyses.metrics.InstructionMixMetric
All Implemented Interfaces:
ICustomizable, IEventBoxApplicable, IInitializable, ITimedCustomizable, XMLOutputable

public class InstructionMixMetric
extends MetricAnalysis


Nested Class Summary
(package private)  class InstructionMixMetric.NameSetComparator
           
(package private)  class InstructionMixMetric.ValueSetComparator
           
 
Constructor Summary
InstructionMixMetric(java.lang.String name)
           
 
Method Summary
 void computeResults()
           
 void displayHelp(HelpDisplayManager manager)
           
 void doApply(EventBox box)
           
 void doInit()
           
 java.lang.String getOption(java.lang.String name)
           
 EventDependency[] registerEventDependencies()
           
 java.lang.String[] registerOperationDependencies()
           
 void setOption(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class adaptj.toolkits.analyses.metrics.MetricAnalysis
analysisDone, doDone, getLongName, outputXML
 
Methods inherited from class adaptj.toolkits.EventOperation
doPreInit
 
Methods inherited from class adaptj.toolkits.TimedEventBoxApplicable
apply, done, doVerboseDone, doVerboseInit, doVerbosePreInit, init, preInit
 
Methods inherited from class adaptj.toolkits.TimedCustomizable
getTime, isTimed, setTimed, startTimer, stopTimer
 
Methods inherited from class adaptj.toolkits.Customizable
getDescription, getName, isEnabled, isVerbose, setEnabled, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface adaptj.toolkits.ICustomizable
getDescription, getName, isEnabled, isVerbose, setEnabled, setVerbose
 

Constructor Detail

InstructionMixMetric

public InstructionMixMetric(java.lang.String name)
Method Detail

setOption

public void setOption(java.lang.String name,
                      java.lang.String value)
Specified by:
setOption in interface ICustomizable
Overrides:
setOption in class MetricAnalysis

getOption

public java.lang.String getOption(java.lang.String name)
Specified by:
getOption in interface ICustomizable
Overrides:
getOption in class MetricAnalysis

displayHelp

public void displayHelp(HelpDisplayManager manager)
Specified by:
displayHelp in interface ICustomizable
Overrides:
displayHelp in class MetricAnalysis

registerEventDependencies

public EventDependency[] registerEventDependencies()
Specified by:
registerEventDependencies in interface IEventBoxApplicable
Specified by:
registerEventDependencies in class TimedEventBoxApplicable

registerOperationDependencies

public java.lang.String[] registerOperationDependencies()
Specified by:
registerOperationDependencies in interface IEventBoxApplicable
Specified by:
registerOperationDependencies in class TimedEventBoxApplicable

doInit

public void doInit()
Overrides:
doInit in class EventOperation

doApply

public void doApply(EventBox box)
Specified by:
doApply in class TimedEventBoxApplicable

computeResults

public void computeResults()
Overrides:
computeResults in class MetricAnalysis