Merge branch '30-multi-normalization' into dev
Signed-off-by: colramos425 <colramos@amd.com>
[ROCm/rocprofiler-compute commit: f9f8b749c8]
@@ -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(
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 187 KiB |
|
Before Width: | Height: | Size: 282 KiB After Width: | Height: | Size: 282 KiB |
|
Before Width: | Height: | Size: 182 KiB After Width: | Height: | Size: 182 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |