00001 package edu.rice.cs.hpc.data.experiment.extdata; 00002 00003 public class TraceName { 00004 int process; 00005 int thread; 00006 00007 public TraceName(int _process, int _thread) { 00008 process = _process; 00009 thread = _thread; 00010 } 00011 00012 @Override 00013 public String toString() { 00014 if (thread == -1) { 00015 return Integer.toString(process); 00016 } else { 00017 return process + "." + thread; 00018 } 00019 } 00020 }