TraceName.java

Go to the documentation of this file.
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 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1