Builder for an XML parser for HPCViewer experiment files. More...
Public Member Functions | |
ExperimentBuilder2 (BaseExperiment experiment, String defaultName, IUserData< String, String > userData) | |
Creating experiment with metrics. | |
void | beginElement (String element, String[] attributes, String[] values) |
void | endElement (String element) |
void | begin () |
void | content (String s) |
void | end () |
void | setParser (Parser parser) |
int | getParseOK () |
int | getParseErrorLineNumber () |
void | error (int lineNumber) |
void | error () |
void | Assert (boolean predicate) |
Static Public Attributes | |
static int | PARSER_OK = 0 |
static int | PARSER_FAIL = 1 |
static int | PARSER_OLDXML = 2 |
Protected Member Functions | |
boolean | isCallingContextTree () |
void | saveTokenContext (TokenXML current) |
void | begin_SecData (String[] attributes, String[] values) |
String | getAttributeByName (String name, String[] attributes, String[] values) |
void | endScope () |
Scope | getCurrentScope () |
SourceFile | getOrCreateSourceFile (String fileLine, int keyFile) |
Protected Attributes | |
List< BaseMetric > | metricList |
The parsed metric objects. | |
List< MetricRaw > | metricRawList |
int | numberOfPrimaryMetrics |
Number of metrics provided by the experiment file. | |
final int | maxNumberOfMetrics = 10000 |
Maximum number of metrics provided by the experiment file. | |
String | defaultName |
The default name for the experiment, in case none is found by the parser. | |
ExperimentConfiguration | configuration |
The parsed configuration. | |
Scope | rootScope |
Scope | viewRootScope [] |
BaseExperiment | experiment |
The experiment to own parsed objects. | |
Stack< Scope > | scopeStack |
A stack to keep track of scope nesting while parsing. | |
Stack< SourceFile > | srcFileStack |
The current source file while parsing. | |
Token2.TokenXML | previousToken = TokenXML.T_INVALID_ELEMENT_NAME |
Token2.TokenXML | elemInfoState = TokenXML.T_INVALID_ELEMENT_NAME |
Parser | parser |
The parser which owns this builder. | |
int | parseOK |
Whether parsing was successful. | |
int | parseErrorLineNumber |
The line number of the first parse error in the file. | |
Static Protected Attributes | |
static final String | LINE_ATTRIBUTE = "l" |
static final String | NAME_ATTRIBUTE = "n" |
static final String | FILENAME_ATTRIBUTE = "f" |
static final String | VALUE_ATTRIBUTE = "v" |
static final String | ID_ATTRIBUTE = "i" |
Private Types | |
enum | MetricValueDesc { Raw, Final, Derived_Incr, Derived } |
enum | InfoState { PERIOD, UNIT, FLAG, AGGREGATE, NULL } |
Enumeration of different states of info. More... | |
Private Member Functions | |
void | end_ProfileData () |
void | do_MetricFormula (String[] attributes, String[] values) |
void | do_METRIC (String[] attributes, String[] values) |
void | do_MetricRaw (String[] attributes, String[] values) |
void | end_MetricTable () |
void | do_M (String[] attributes, String[] values) |
void | do_NV (String[] attributes, String[] values) |
void | begin_MetricRawTable () |
void | end_MetricRawTable () |
Builder for an XML parser for HPCViewer experiment files.
This builder will oversee the association between CCT and metrics
Definition at line 29 of file ExperimentBuilder2.java.
Enumeration of different states of info.
Definition at line 462 of file ExperimentBuilder2.java.
Definition at line 215 of file ExperimentBuilder2.java.
edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.ExperimentBuilder2 | ( | BaseExperiment | experiment, | |
String | defaultName, | |||
IUserData< String, String > | userData | |||
) |
Creating experiment with metrics.
need_metrics,: | do we need metrics ? |
Definition at line 52 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricList, and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.numberOfPrimaryMetrics.
void edu.rice.cs.hpc.data.experiment.xml.Builder.Assert | ( | boolean | predicate | ) | [inherited] |
Definition at line 207 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.error().
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_TITLE(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_F().
void edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin | ( | ) | [virtual, inherited] |
Implements edu.rice.cs.hpc.data.experiment.xml.Builder.
Definition at line 1127 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.configuration.
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.begin_MetricRawTable | ( | ) | [private] |
Definition at line 546 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricRawList.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_SecData | ( | String[] | attributes, | |
String[] | values | |||
) | [protected, inherited] |
Definition at line 1033 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.beginScope(), edu.rice.cs.hpc.data.experiment.scope.RootScopeType.CallingContextTree, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.csviewer, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, edu.rice.cs.hpc.data.experiment.scope.RootScopeType.Flat, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.rootScope, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.scopeStack, and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.viewRootScope.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement | ( | String | element, | |
String[] | attributes, | |||
String[] | values | |||
) | [virtual] |
Reimplemented from edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.
Definition at line 66 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.begin_MetricRawTable(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_M(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_METRIC(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_MetricFormula(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_MetricRaw(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_NV(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.saveTokenContext().
void edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.content | ( | String | s | ) | [virtual, inherited] |
Implements edu.rice.cs.hpc.data.experiment.xml.Builder.
Definition at line 1140 of file BaseExperimentBuilder.java.
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_M | ( | String[] | attributes, | |
String[] | values | |||
) | [private] |
Definition at line 408 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getAttributeByName(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getCurrentScope(), edu.rice.cs.hpc.data.experiment.metric.BaseMetric.getIndex(), edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.getMetric(), edu.rice.cs.hpc.data.experiment.metric.BaseMetric.getMetricType(), edu.rice.cs.hpc.data.experiment.metric.BaseMetric.getSamplePeriod(), edu.rice.cs.hpc.data.experiment.metric.MetricType.INCLUSIVE, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.NAME_ATTRIBUTE, edu.rice.cs.hpc.data.experiment.scope.Scope.setMetricValue(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.VALUE_ATTRIBUTE.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_METRIC | ( | String[] | attributes, | |
String[] | values | |||
) | [private] |
Definition at line 228 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.metric.MetricType.EXCLUSIVE, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, edu.rice.cs.hpc.data.experiment.metric.MetricType.INCLUSIVE, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.isCallingContextTree(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.maxNumberOfMetrics, and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricList.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_MetricFormula | ( | String[] | attributes, | |
String[] | values | |||
) | [private] |
Definition at line 196 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricList, and edu.rice.cs.hpc.data.experiment.metric.AggregateMetric.setFormula().
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_MetricRaw | ( | String[] | attributes, | |
String[] | values | |||
) | [private] |
Definition at line 366 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricRawList.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_NV | ( | String[] | attributes, | |
String[] | values | |||
) | [private] |
Definition at line 468 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.elemInfoState, edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricList, edu.rice.cs.hpc.data.experiment.metric.BaseMetric.setSamplePeriod(), and edu.rice.cs.hpc.data.experiment.metric.BaseMetric.setUnit().
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end | ( | ) | [virtual, inherited] |
Implements edu.rice.cs.hpc.data.experiment.xml.Builder.
Definition at line 1151 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.configuration, edu.rice.cs.hpc.data.experiment.xml.Builder.error(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, edu.rice.cs.hpc.data.experiment.ExperimentConfiguration.getName(), edu.rice.cs.hpc.data.experiment.scope.Scope.getName(), edu.rice.cs.hpc.data.experiment.ExperimentConfiguration.getSearchPathCount(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.rootScope, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.scopeStack, edu.rice.cs.hpc.data.experiment.BaseExperiment.setConfiguration(), edu.rice.cs.hpc.data.experiment.ExperimentConfiguration.setName(), edu.rice.cs.hpc.data.experiment.BaseExperiment.setRootScope(), and edu.rice.cs.hpc.data.experiment.ExperimentConfiguration.setSearchPaths().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_MetricRawTable | ( | ) | [private] |
Definition at line 554 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricRawList.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.endElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_MetricTable | ( | ) | [private] |
Definition at line 397 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricList, and edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.setMetrics().
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.endElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_ProfileData | ( | ) | [private] |
Definition at line 145 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.metric.MetricType.EXCLUSIVE, edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, edu.rice.cs.hpc.data.experiment.metric.BaseMetric.getMetricType(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricList, edu.rice.cs.hpc.data.experiment.metric.BaseMetric.setIndex(), edu.rice.cs.hpc.data.experiment.BaseExperimentWithMetrics.setMetrics(), edu.rice.cs.hpc.data.experiment.metric.BaseMetric.setPartner(), and edu.rice.cs.hpc.data.experiment.metric.BaseMetric.setShortName().
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.endElement().
void edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.endElement | ( | String | element | ) | [virtual] |
Reimplemented from edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.
Definition at line 105 of file ExperimentBuilder2.java.
References edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_MetricRawTable(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_MetricTable(), and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_ProfileData().
void edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.endScope | ( | ) | [protected, inherited] |
Definition at line 1087 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.Parser.getLineNumber(), edu.rice.cs.hpc.data.experiment.xml.Builder.parser, and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.scopeStack.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_F(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_L(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_LM(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_PF(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_PGM(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_S().
void edu.rice.cs.hpc.data.experiment.xml.Builder.error | ( | ) | [inherited] |
Definition at line 195 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Parser.getLineNumber(), and edu.rice.cs.hpc.data.experiment.xml.Builder.parser.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.Assert(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end().
void edu.rice.cs.hpc.data.experiment.xml.Builder.error | ( | int | lineNumber | ) | [inherited] |
Definition at line 179 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.parseErrorLineNumber, and edu.rice.cs.hpc.data.experiment.xml.Builder.parseOK.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Parser.parse().
String edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getAttributeByName | ( | String | name, | |
String[] | attributes, | |||
String[] | values | |||
) | [protected, inherited] |
Scope edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getCurrentScope | ( | ) | [protected, inherited] |
Definition at line 1099 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.scopeStack.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_L(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.beginScope(), and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_M().
SourceFile edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getOrCreateSourceFile | ( | String | fileLine, | |
int | keyFile | |||
) | [protected, inherited] |
Definition at line 1109 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment, and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.hashSourceFileTable.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_F(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_LM(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_File().
int edu.rice.cs.hpc.data.experiment.xml.Builder.getParseErrorLineNumber | ( | ) | [inherited] |
Definition at line 114 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.parseErrorLineNumber.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentFileXML.parse().
int edu.rice.cs.hpc.data.experiment.xml.Builder.getParseOK | ( | ) | [inherited] |
Definition at line 102 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.parseOK.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentFileXML.parse().
boolean edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.isCallingContextTree | ( | ) | [protected, inherited] |
Definition at line 128 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.csviewer.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_METRIC().
void edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.saveTokenContext | ( | TokenXML | current | ) | [protected, inherited] |
Definition at line 264 of file BaseExperimentBuilder.java.
References edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.previousToken.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.beginElement(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.beginElement().
void edu.rice.cs.hpc.data.experiment.xml.Builder.setParser | ( | Parser | parser | ) | [inherited] |
Definition at line 83 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Parser.Parser().
ExperimentConfiguration edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.configuration [protected, inherited] |
The parsed configuration.
Definition at line 55 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_Header(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_TITLE(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end().
String edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.defaultName [protected, inherited] |
The default name for the experiment, in case none is found by the parser.
Definition at line 52 of file BaseExperimentBuilder.java.
Token2.TokenXML edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.elemInfoState = TokenXML.T_INVALID_ELEMENT_NAME [protected, inherited] |
Definition at line 74 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_Info(), and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_NV().
BaseExperiment edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.experiment [protected, inherited] |
The experiment to own parsed objects.
Definition at line 61 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_F(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_L(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_LM(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_S_internal(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_SecData(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_HPCTOOLKIT(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_LoadModule(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_M(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_METRIC(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_TraceDB(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_MetricRawTable(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_MetricTable(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_ProfileData(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getOrCreateSourceFile().
final String edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.FILENAME_ATTRIBUTE = "f" [static, protected, inherited] |
final String edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.ID_ATTRIBUTE = "i" [static, protected, inherited] |
Definition at line 47 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_F(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_L(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_LM(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_S_internal().
final String edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.LINE_ATTRIBUTE = "l" [static, protected, inherited] |
Definition at line 43 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_L(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_S_internal().
final int edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.maxNumberOfMetrics = 10000 [protected] |
Maximum number of metrics provided by the experiment file.
We use the maxNumberOfMetrics value to generate short names for the self metrics
Definition at line 42 of file ExperimentBuilder2.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_METRIC().
List<BaseMetric> edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.metricList [protected] |
The parsed metric objects.
Definition at line 32 of file ExperimentBuilder2.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_METRIC(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_MetricFormula(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_NV(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_MetricTable(), edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.end_ProfileData(), and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.ExperimentBuilder2().
final String edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.NAME_ATTRIBUTE = "n" [static, protected, inherited] |
Definition at line 44 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_F(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_LM(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_M().
Number of metrics provided by the experiment file.
For each metric we will define one inclusive and one exclusive metric.
Definition at line 38 of file ExperimentBuilder2.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.ExperimentBuilder2().
int edu.rice.cs.hpc.data.experiment.xml.Builder.parseErrorLineNumber [protected, inherited] |
The line number of the first parse error in the file.
Definition at line 49 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.Builder(), edu.rice.cs.hpc.data.experiment.xml.Builder.error(), and edu.rice.cs.hpc.data.experiment.xml.Builder.getParseErrorLineNumber().
int edu.rice.cs.hpc.data.experiment.xml.Builder.parseOK [protected, inherited] |
Whether parsing was successful.
Definition at line 46 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.error(), and edu.rice.cs.hpc.data.experiment.xml.Builder.getParseOK().
Parser edu.rice.cs.hpc.data.experiment.xml.Builder.parser [protected, inherited] |
The parser which owns this builder.
Definition at line 43 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.Builder(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.endScope(), and edu.rice.cs.hpc.data.experiment.xml.Builder.error().
int edu.rice.cs.hpc.data.experiment.xml.Builder.PARSER_FAIL = 1 [static, inherited] |
Definition at line 39 of file Builder.java.
int edu.rice.cs.hpc.data.experiment.xml.Builder.PARSER_OK = 0 [static, inherited] |
Definition at line 38 of file Builder.java.
int edu.rice.cs.hpc.data.experiment.xml.Builder.PARSER_OLDXML = 2 [static, inherited] |
Definition at line 40 of file Builder.java.
Token2.TokenXML edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.previousToken = TokenXML.T_INVALID_ELEMENT_NAME [protected, inherited] |
Definition at line 73 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_Info(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.saveTokenContext().
Scope edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.rootScope [protected, inherited] |
Definition at line 57 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_SecData(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end().
Stack<Scope> edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.scopeStack [protected, inherited] |
A stack to keep track of scope nesting while parsing.
Definition at line 64 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.BaseExperimentBuilder(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_S_internal(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_SecData(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.beginScope(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.endScope(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.getCurrentScope().
Stack<SourceFile> edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.srcFileStack [protected, inherited] |
The current source file while parsing.
Definition at line 67 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.BaseExperimentBuilder(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_F(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_L(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_S_internal(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_A(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_F(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_PF().
final String edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.VALUE_ATTRIBUTE = "v" [static, protected, inherited] |
Definition at line 46 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_PF(), and edu.rice.cs.hpc.data.experiment.xml.ExperimentBuilder2.do_M().
Scope edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.viewRootScope[] [protected, inherited] |
Definition at line 58 of file BaseExperimentBuilder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.BaseExperimentBuilder(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.begin_SecData().