* 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
Этот коммит содержится в:
Jonathan R. Madsen
2022-07-25 20:24:34 -05:00
коммит произвёл GitHub
родитель 74fe68101b
Коммит 4dd144a32c
9 изменённых файлов: 371 добавлений и 167 удалений
+2
Просмотреть файл
@@ -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