edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager Class Reference

Collaboration diagram for edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager:
Collaboration graph
[legend]

List of all members.

Classes

class  ProgressReport
class  ThreadLevelDataCompatibility
 class to cache the name of merged thread-level data files. More...

Public Member Functions

 ThreadLevelDataManager (Experiment exp)
boolean isDataAvailable ()
 check data availability
String[] getSeriesName ()
 thread level data may contain some experiment instances.
String[] getProcessIDs (int metric_raw_id)
 Example of file names: 1.t1-threads.BLD-lm-lpthread-000000-019-7f0100-25111.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-019-7f0100-25361.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-019-7f0100-25493.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-020-7f0100-25111.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-020-7f0100-25361.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-020-7f0100-25493.hpcrun.hpcprof-metrics.
double[] getProcessIDsDouble (int metric_raw_id) throws NumberFormatException
 get the list of processor IDs.
double[] getMetrics (MetricRaw metric, long node_index) throws IOException
 retrive an array of raw metric value of a given node and raw metric
ThreadLevelDataFile getThreadLevelDataFile (int metric_id)
void dispose ()

Private Member Functions

void checkThreadsMetricDataFiles (int metric_raw_id) throws IOException

Private Attributes

ThreadLevelDataFile data_file []
Experiment experiment
ThreadLevelDataCompatibility thread_data

Detailed Description

Definition at line 25 of file ThreadLevelDataManager.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataManager ( Experiment  exp  ) 

Member Function Documentation

void edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.checkThreadsMetricDataFiles ( int  metric_raw_id  )  throws IOException [private]
void edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.dispose (  ) 
double [] edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.getMetrics ( MetricRaw  metric,
long  node_index 
) throws IOException

retrive an array of raw metric value of a given node and raw metric

Parameters:
metric,: raw metric
node_index,: normalized node index
Returns:
array of doubles of metric value

Definition at line 117 of file ThreadLevelDataManager.java.

References edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.checkThreadsMetricDataFiles(), edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.data_file, and edu.rice.cs.hpc.viewer.metric.ThreadLevelDataFile.getMetrics().

Referenced by edu.rice.cs.hpc.viewer.graph.GraphEditorHisto.plotData().

String [] edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.getProcessIDs ( int  metric_raw_id  ) 

Example of file names: 1.t1-threads.BLD-lm-lpthread-000000-019-7f0100-25111.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-019-7f0100-25361.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-019-7f0100-25493.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-020-7f0100-25111.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-020-7f0100-25361.hpcrun.hpcprof-metrics 1.t1-threads.BLD-lm-lpthread-000000-020-7f0100-25493.hpcrun.hpcprof-metrics.

Returns:

Definition at line 87 of file ThreadLevelDataManager.java.

References edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.data_file, and edu.rice.cs.hpc.data.experiment.extdata.FileDB2.getRankLabels().

double [] edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.getProcessIDsDouble ( int  metric_raw_id  )  throws NumberFormatException

get the list of processor IDs.

The ID has to a number. Otherwise it throws an exception

Parameters:
metric_raw_id 
Returns:
Exceptions:
NumberFormatException (in case the processor ID is not a number)

Definition at line 99 of file ThreadLevelDataManager.java.

References edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.data_file, and edu.rice.cs.hpc.data.experiment.extdata.FileDB2.getRankLabels().

Referenced by edu.rice.cs.hpc.viewer.graph.GraphEditorPlotSort.getValuesX().

String [] edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.getSeriesName (  ) 

thread level data may contain some experiment instances.

This will retrieve the name of all instances

Returns:

Definition at line 61 of file ThreadLevelDataManager.java.

References edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.experiment, and edu.rice.cs.hpc.data.experiment.Experiment.getMetricRaw().

ThreadLevelDataFile edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.getThreadLevelDataFile ( int  metric_id  ) 
boolean edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.isDataAvailable (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1