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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
74fe68101b
Коммит
4dd144a32c
@@ -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