[rocprofiler-compute] Add database output format to analyze mode (#748)
Analysis data dump * Add `--output-format` and `--output-name` option to analyze mode * Remove `--output` and `-save-dfs` option to analyze mode * Add documentation on `rocpd` output format and analysis database file * Create sqlite3 database using object relation mapping (ORM) provided by sqlalchemy library * Fix metrics config to remove metrics marked as `null`, fix `Unit` header, add missing `title` * Add test cases to ensure analysis data dump work
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -114,6 +114,8 @@ supported_call = {
|
||||
"CONCAT": "to_concat",
|
||||
}
|
||||
|
||||
PC_SAMPLING_NOT_ISSUE_PREFIX = "ROCPROFILER_PC_SAMPLING_INSTRUCTION_NOT_ISSUED_REASON_"
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -1283,9 +1285,7 @@ def search_pc_sampling_record(records):
|
||||
)
|
||||
)
|
||||
|
||||
rocp_inst_not_issued_prefix_len = len(
|
||||
"ROCPROFILER_PC_SAMPLING_INSTRUCTION_NOT_ISSUED_REASON_"
|
||||
)
|
||||
rocp_inst_not_issued_prefix_len = len(PC_SAMPLING_NOT_ISSUE_PREFIX)
|
||||
|
||||
# Populate grouped_data
|
||||
for i, item in enumerate(records):
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user