00001 package edu.rice.cs.hpc.data.experiment.metric; 00002 00003 /* Java 1.5 public enum MetricType { EXCLUSIVE, INCLUSIVE, EXCLUSIVE_ONLY, DERIVED }*/ 00004 00005 // Java 1.4 Compatible enumeration type 00006 public class MetricType { 00007 public final static MetricType EXCLUSIVE = new MetricType("EXCLUSIVE"); 00008 public final static MetricType INCLUSIVE = new MetricType("INCLUSIVE"); 00009 //public final static MetricType PREAGGREGATE = new MetricType("PREAGGREGATE"); 00010 //public final static MetricType DERIVED_INCR = new MetricType("DERIVED_INCR"); 00011 00012 public String toString() { return value; } 00013 00014 private String value; 00015 private MetricType(String value) { this.value = value; }; 00016 }