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
このコミットが含まれているのは:
Jonathan R. Madsen
2022-07-25 20:24:34 -05:00
committed by GitHub
コミット 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