class to cache the name of merged thread-level data files. More...
Public Member Functions | |
ThreadLevelDataCompatibility () | |
String | getMergedFile (File directory, int metric_raw_id) throws IOException |
method to find the name of file for a given metric ID. | |
Private Member Functions | |
void | checkOldVersionOfData (File directory) |
Private Attributes | |
HashMap< String, String > | listOfFiles |
class to cache the name of merged thread-level data files.
We will ask A LOT the name of merged files, thus keeping in cache will avoid us to check to often if the merged file already exist or not
The class also check compatibility with the old version.
Definition at line 181 of file ThreadLevelDataManager.java.
edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.ThreadLevelDataCompatibility | ( | ) |
Definition at line 185 of file ThreadLevelDataManager.java.
References edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.listOfFiles.
void edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.checkOldVersionOfData | ( | File | directory | ) | [private] |
Definition at line 258 of file ThreadLevelDataManager.java.
Referenced by edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.getMergedFile().
String edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.getMergedFile | ( | File | directory, | |
int | metric_raw_id | |||
) | throws IOException |
method to find the name of file for a given metric ID.
If the files are not merged, it will be merged automatically
The name of the merge file will depend on the glob pattern
directory | ||
metric_raw_id |
IOException |
Definition at line 200 of file ThreadLevelDataManager.java.
References edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.checkOldVersionOfData(), edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.experiment, edu.rice.cs.hpc.data.experiment.metric.MetricRaw.getGlob(), edu.rice.cs.hpc.data.experiment.Experiment.getMetricRaw(), and edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.listOfFiles.
Referenced by edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.checkThreadsMetricDataFiles().
HashMap<String, String> edu.rice.cs.hpc.viewer.metric.ThreadLevelDataManager.ThreadLevelDataCompatibility.listOfFiles [private] |