User regions in Python (#57)
* User regions in Python
* User-region testing + common submodule
- Updated examples/python/source.py to use user-regions
- Python-level user submodule
- Python-level common submodule
- clean-up of profiler python code
- extended source.py testing to include the user-regions
[ROCm/rocprofiler-systems commit: 4dd144a32c]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
10fbc81adc
Коммит
d2a39b9066
@@ -36,6 +36,7 @@ This submodule imports the timemory Python function profiler
|
||||
|
||||
try:
|
||||
from .libpyomnitrace import coverage
|
||||
from . import user
|
||||
from .profiler import Profiler, FakeProfiler
|
||||
from .libpyomnitrace.profiler import (
|
||||
profiler_function,
|
||||
@@ -67,6 +68,7 @@ try:
|
||||
"profile",
|
||||
"noprofile",
|
||||
"coverage",
|
||||
"user",
|
||||
]
|
||||
|
||||
import atexit
|
||||
|
||||
Ссылка в новой задаче
Block a user