hatchet.readers package¶
Submodules¶
hatchet.readers.caliper_reader module¶
hatchet.readers.gprof_dot_reader module¶
hatchet.readers.hpctoolkit_reader module¶
-
class
hatchet.readers.hpctoolkit_reader.
HPCToolkitReader
(dir_name)[source]¶ Bases:
object
Read in the various sections of an HPCToolkit experiment.xml file and metric-db files.
-
create_node_dict
(nid, hnode, name, node_type, src_file, line, module)[source]¶ Create a dict with all the node attributes.
-
fill_tables
()[source]¶ Read certain sections of the experiment.xml file to create dicts of load modules, src_files, procedure_names, and metric_names.
-
parse_xml_node
(xml_node, parent_nid, parent_line, hparent)[source]¶ Parses an XML node and its children recursively.
-
read
()[source]¶ Read the experiment.xml file to extract the calling context tree and create a dataframe out of it. Then merge the two dataframes to create the final dataframe.
Returns: new GraphFrame with HPCToolkit data. Return type: (GraphFrame)
-
Initialize shared array.