Rename Omnitrace to ROCm Systems Profiler (#4)
The Omnitrace program is being renamed.
Full name: "ROCm Systems Profiler"
Package name: "rocprofiler-systems"
Binary / Library names: "rocprof-sys-*"
---------
Co-authored-by: Xuan Chen <xuchen@amd.com>
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
[ROCm/rocprofiler-systems commit: d07bf508a9]
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -3,9 +3,9 @@
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import omnitrace
|
||||
from omnitrace.user import region as omni_user_region
|
||||
from omnitrace.profiler import config as omni_config
|
||||
import rocprofsys
|
||||
from rocprofsys.user import region as omni_user_region
|
||||
from rocprofsys.profiler import config as omni_config
|
||||
|
||||
_prefix = ""
|
||||
|
||||
@@ -14,7 +14,7 @@ def loop(n):
|
||||
pass
|
||||
|
||||
|
||||
@omnitrace.profile()
|
||||
@rocprofsys.profile()
|
||||
def run(i, n, v):
|
||||
for l in range(n * n):
|
||||
loop(v + l)
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user