edu.uoregon.tau.perfexplorer.glue
Class Utilities
Object
Utilities
public class Utilities
- extends Object
- Author:
- khuck
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utilities
public Utilities()
deleteTrial
public static void deleteTrial(Trial t)
getAllViews
public static List<View> getAllViews()
getApplications
public static List<Application> getApplications()
getClient
public static JFrame getClient()
getCurrentTrial
public static Trial getCurrentTrial()
getEventsForTrial
public static List<RMISortableIntervalEvent> getEventsForTrial(Trial trial,
int metricIndex)
getExperimentsForApplication
public static List<Experiment> getExperimentsForApplication(String aName)
getSubView
public static View getSubView(View view,
String name)
getSubViews
public static List<View> getSubViews(View view)
getTrial
public static Trial getTrial(String aName,
String eName,
String tName)
getTrialFromView
public static Trial getTrialFromView(View v,
String tName)
getTrialsForExperiment
public static List<Trial> getTrialsForExperiment(String aName,
String eName)
getTrialsForView
public static List<Trial> getTrialsForView(View view)
getView
public static View getView(String name)
getViews
public static List<View> getViews()
setSession
public static int setSession(String name)
shortenEventName
public static String shortenEventName(String longName)
- Shorten a function name
- Parameters:
longName - the long function name
- Returns:
- the shortened function name
sortHashMapByValues
public static LinkedHashMap<String,Double> sortHashMapByValues(Map<String,Double> passedMap,
boolean ascending)
****************************************************************************
Copyright 1997-2009
Department of Computer and Information Science, University of Oregon
Advanced Computing Laboratory, Los Alamos National Laboratory
Juelich Supercomputing Centre, Research Center Juelich, Germany
http://tau.uoregon.edu
****************************************************************************
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of University of Oregon (UO) and Los Alamos National Laboratory (LANL) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The University of Oregon and LANL makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
THE UNIVERSITY OF OREGON AND LANL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE UNIVERSITY OF OREGON OR LANL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.