Merge branch '30-multi-normalization' into dev

Signed-off-by: colramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: f9f8b749c8]
This commit is contained in:
colramos425
2022-12-02 11:56:56 -06:00
parent 0cb9fb8c75
commit c58dfc3ccc
286 changed files with 164 additions and 139 deletions
+3 -3
View File
@@ -212,11 +212,11 @@ install(PROGRAMS src/omniperf TYPE BIN)
install(FILES src/parser.py TYPE BIN) install(FILES src/parser.py TYPE BIN)
install(FILES src/common.py TYPE BIN) install(FILES src/common.py TYPE BIN)
install(FILES VERSION VERSION.sha DESTINATION ${CMAKE_INSTALL_PREFIX}) install(FILES VERSION VERSION.sha DESTINATION ${CMAKE_INSTALL_PREFIX})
# src/omniperf_cli # src/omniperf_analyze
install( install(
DIRECTORY src/omniperf_cli DIRECTORY src/omniperf_analyze
TYPE BIN TYPE BIN
PATTERN src/omniperf_cli/tests EXCLUDE PATTERN src/omniperf_analyze/tests EXCLUDE
PATTERN "__pycache__" EXCLUDE) PATTERN "__pycache__" EXCLUDE)
# src/utils # src/utils
install( install(
+1 -1
View File
@@ -31,5 +31,5 @@ pythonpath = [
".", ".",
"src", "src",
"src/utils", "src/utils",
"src/omniperf_cli/utils" "src/omniperf_analyze/utils"
] ]
@@ -41,7 +41,7 @@ Analyze
Dash is running on http://0.0.0.0:8050/ Dash is running on http://0.0.0.0:8050/
* Serving Flask app 'omniperf_cli.omniperf_cli' (lazy loading) * Serving Flask app 'omniperf_analyze.omniperf_analyze' (lazy loading)
* Environment: production * Environment: production
WARNING: This is a development server. Do not use it in a production deployment. WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead. Use a production WSGI server instead.
+3 -3
View File
@@ -37,7 +37,7 @@ from utils.perfagg import perfmon_filter, pmc_filter
from utils import remove_workload from utils import remove_workload
from utils import csv_converter # Import workload from utils import csv_converter # Import workload
from utils import plot_roofline # standalone roofline from utils import plot_roofline # standalone roofline
from omniperf_cli.omniperf_cli import omniperf_cli # CLI analysis from omniperf_analyze.omniperf_analyze import analyze # CLI analysis
from common import ( from common import (
OMNIPERF_HOME, OMNIPERF_HOME,
@@ -608,7 +608,7 @@ def main():
############## ##############
if args.mode == "analyze": if args.mode == "analyze":
if args.list_metrics: if args.list_metrics:
omniperf_cli(args) analyze(args)
else: else:
if args.path: if args.path:
if ".." in str(args.path): if ".." in str(args.path):
@@ -632,7 +632,7 @@ def main():
my_parser, dir[0] my_parser, dir[0]
) # Verify workload is valid before analyzing ) # Verify workload is valid before analyzing
omniperf_cli(args) analyze(args)
else: else:
throw_parse_error( throw_parse_error(
my_parser, my_parser,
@@ -1,6 +1,6 @@
# Description # Description
omniperf_cli.py is a post-processing profiling tool with the raw data collected from omniperf. omniperf_analyze.py is a post-processing profiling tool with the raw data collected from omniperf.
## Features ## Features

Some files were not shown because too many files have changed in this diff Show More